Update github action (#5059)
authorJay Cho <chojoong@gmail.com>
Tue, 7 Mar 2023 08:46:00 +0000 (17:46 +0900)
committerGitHub <noreply@github.com>
Tue, 7 Mar 2023 08:46:00 +0000 (17:46 +0900)
.github/workflows/build-branches.yml
.github/workflows/build-pull-request.yml
.github/workflows/check-api-level.yml
.github/workflows/deploy-packages.yml
.github/workflows/nightly-release.yml
.github/workflows/postback-pull-request.yml

index 57a264c..a92c8ad 100644 (file)
@@ -18,10 +18,10 @@ jobs:
   build:
     runs-on: ubuntu-20.04
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
 
     - name: Setup .NET Core
-      uses: actions/setup-dotnet@v1
+      uses: actions/setup-dotnet@v3
       with:
         dotnet-version: 3.1.402
 
@@ -29,7 +29,7 @@ jobs:
       run: ./build.sh full
 
     - name: Checkout APITool
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
       with:
         repository: TizenAPI/APITool
         path: .apitool
index 8ce814b..9e21c10 100644 (file)
@@ -15,7 +15,7 @@ jobs:
     - uses: actions/checkout@v2
 
     - name: Setup .NET Core
-      uses: actions/setup-dotnet@v1
+      uses: actions/setup-dotnet@v3
       with:
         dotnet-version: 3.1.402
 
@@ -67,7 +67,7 @@ jobs:
     runs-on: ubuntu-20.04
     steps:
     - name: Setup .NET Core
-      uses: actions/setup-dotnet@v1
+      uses: actions/setup-dotnet@v3
       with:
         dotnet-version: 3.1.x
 
index 57c130d..33c1565 100644 (file)
@@ -20,7 +20,7 @@ jobs:
 
     - name: Add Labels
       if: ${{ steps.metadata.outputs.data }}
-      uses: actions/github-script@v2
+      uses: actions/github-script@v6
       env:
         BRANCH_METADATA: ${{ steps.metadata.outputs.data }}
       with:
index a08d73c..15e6932 100644 (file)
@@ -28,7 +28,7 @@ jobs:
         ref: ${{ env.TARGET_BRANCH }}
         fetch-depth: 0
     
-    - uses: actions/setup-dotnet@v1
+    - uses: actions/setup-dotnet@v3
       with:
         dotnet-version: '6.0.102'
 
@@ -51,7 +51,7 @@ jobs:
       run: |
         VERSION=$VERSION_PREFIX.$((10000+$(git rev-list --count HEAD)))
         echo VERSION=$VERSION
-        echo "::set-output name=version::$VERSION"
+        echo "version=$VERSION" >> $GITHUB_OUTPUT
 
     - name: Build
       env:
index d3ac78d..790663c 100644 (file)
@@ -28,7 +28,7 @@ jobs:
             TARGETS="${TARGETS} $x"
           fi
         done
-        echo "::set-output name=targets::${TARGETS}"
+        echo "targets=${TARGETS}" >> $GITHUB_OUTPUT
 
     - name: Trigger Release
       uses: actions/github-script@v4
index a04217b..202a321 100644 (file)
@@ -21,7 +21,7 @@ jobs:
 
     - name: Find Pull Request
       id: pull_request
-      uses: actions/github-script@v2
+      uses: actions/github-script@v6
       env:
         WORKFLOW_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
       with:
@@ -41,7 +41,7 @@ jobs:
 
     - name: Report Error if Failure
       if: ${{ github.event.workflow_run.conclusion == 'failure' }}
-      uses: actions/github-script@v2
+      uses: actions/github-script@v6
       env:
         PR_NUMBER: ${{ steps.pull_request.outputs.number }}
       with: