From 8353f48e63d3604bf905992ebae5868d277de6ca Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Mar 2025 00:47:53 +0700 Subject: [PATCH] Update GitHub Actions (#770) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/build_benchmark.yml | 4 ++-- .github/workflows/build_dispatch_preview.yml | 2 +- .github/workflows/build_preview.yml | 6 +++--- .github/workflows/build_pull_request.yml | 6 +++--- .github/workflows/build_push.yml | 6 +++--- .github/workflows/build_release.yml | 8 ++++---- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build_benchmark.yml b/.github/workflows/build_benchmark.yml index 8d231ff4e..85f9bd0fb 100644 --- a/.github/workflows/build_benchmark.yml +++ b/.github/workflows/build_benchmark.yml @@ -73,7 +73,7 @@ jobs: distribution: temurin - name: Set up gradle - uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4 + uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4 - name: Check code format run: ./gradlew spotlessCheck @@ -121,7 +121,7 @@ jobs: echo "APK_X86_64_SHA=$sha" >> $GITHUB_OUTPUT - name: Upload artifacts - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: path: "**/*.apk" retention-days: 90 diff --git a/.github/workflows/build_dispatch_preview.yml b/.github/workflows/build_dispatch_preview.yml index 9bd30e1e8..dfdb23383 100644 --- a/.github/workflows/build_dispatch_preview.yml +++ b/.github/workflows/build_dispatch_preview.yml @@ -47,7 +47,7 @@ jobs: - name: Get branch names id: branch_names - uses: tj-actions/branch-names@6871f53176ad61624f978536bbf089c574dc19a2 # v8.0.1 + uses: tj-actions/branch-names@f44339b51f74753b57583fbbd124e18a81170ab1 # v8.1.0 - name: Invoke workflow in preview repo uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4 diff --git a/.github/workflows/build_preview.yml b/.github/workflows/build_preview.yml index 3b5f8dd2c..420685fd1 100644 --- a/.github/workflows/build_preview.yml +++ b/.github/workflows/build_preview.yml @@ -142,7 +142,7 @@ jobs: write-mode: overwrite - name: Set up gradle - uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4 + uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4 - name: Check code format run: ./gradlew spotlessCheck @@ -154,7 +154,7 @@ jobs: run: ./gradlew testReleaseUnitTest - name: Upload artifacts - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: path: "**/*.apk" retention-days: 1 @@ -166,7 +166,7 @@ jobs: - build-app steps: - name: Download artifacts - uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: merge-multiple: true diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 6534151ed..6bd2d61e7 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -63,7 +63,7 @@ jobs: write-mode: overwrite - name: Set up gradle - uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4 + uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4 - name: Check code format run: ./gradlew spotlessCheck @@ -107,13 +107,13 @@ jobs: mv app/build/outputs/apk/release/app-universal-release-unsigned${{ steps.signed_filename.outputs.SIGNED_TRAIL }}.apk Komikku-$version_tag-r$commit_count.apk - name: Upload APK - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: Komikku-${{ steps.current_commit.outputs.VERSION_TAG }}-r${{ steps.current_commit.outputs.COMMIT_COUNT }}.apk path: ./*.apk - name: Upload mapping - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: mapping-${{ github.sha }} path: app/build/outputs/mapping/release diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index cee27f3e5..1d22d99f7 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -59,7 +59,7 @@ jobs: write-mode: overwrite - name: Set up gradle - uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4 + uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4 - name: Check code format run: ./gradlew spotlessCheck @@ -94,13 +94,13 @@ jobs: mv app/build/outputs/apk/release/app-universal-release-unsigned-signed.apk Komikku-$version_tag-r$commit_count.apk - name: Upload APK - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: Komikku-${{ steps.current_commit.outputs.VERSION_TAG }}-r${{ steps.current_commit.outputs.COMMIT_COUNT }}.apk path: ./*.apk - name: Upload mapping - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: mapping-${{ github.sha }} path: app/build/outputs/mapping/release diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 52bff5bfd..93b7ae3d7 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -115,7 +115,7 @@ jobs: write-mode: overwrite - name: Set up gradle - uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4 + uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4 - name: Check code format run: ./gradlew spotlessCheck @@ -127,13 +127,13 @@ jobs: run: ./gradlew testReleaseUnitTest - name: Upload artifacts - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: path: "**/*.apk" retention-days: 1 - name: Upload mapping - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: mapping-${{ github.sha }} path: app/build/outputs/mapping/release @@ -145,7 +145,7 @@ jobs: - build-app steps: - name: Download artifacts - uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9 + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 with: merge-multiple: true