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 57a264ccf5d935f54d6fd3089c1682f1f8ae7042..a92c8ad94eefc619cb76eeec6d994cf1eb3462f4 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 8ce814b53667530c779abf87bac408337dbe1ae7..9e21c109ea69dacb069774a33cb3ca238aa85914 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 57c130dc0b5e4ec55c21b40938d40944c2f30ebe..33c15659a7d12f0ac4ec218dac658f6d301b519e 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 a08d73cd544cf905298de8dd1debdc778943da62..15e6932afee337c3f25d23ed293670c8f0c31a08 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 d3ac78d0396dbb13155a159c0467cc77685c4d52..790663cec5e97a8c7766559ada3f01f845621037 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 a04217b049ea0f3909b558a7df1018f8bfc9b66e..202a321e6e46ed73d60f70e343ef75d446edf820 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: