From f8c5e6a9c99bf3dfe1f83dc4ea69221933dd644b Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Thu, 9 Apr 2026 15:46:03 +0700 Subject: [PATCH] ci: Bump CI dependencies before Node 20 deprecation --- .github/workflows/build_pull_request.yml | 4 ++-- .github/workflows/open_pull_request.yml | 2 +- .github/workflows/release.yml | 15 ++++++++------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 4364f7b2..827931cb 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: 'true' @@ -41,7 +41,7 @@ jobs: run: bash ./build.sh ${{ matrix.target_arch }} - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: aapt2-${{ matrix.target_arch }} path: ${{ github.workspace }}/build/bin/aapt2-* diff --git a/.github/workflows/open_pull_request.yml b/.github/workflows/open_pull_request.yml index a6d47f34..d8b82d31 100644 --- a/.github/workflows/open_pull_request.yml +++ b/.github/workflows/open_pull_request.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Open pull request uses: repo-sync/pull-request@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ad9c1fd..aca166b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: 'true' @@ -42,7 +42,7 @@ jobs: run: bash ./build.sh ${{ matrix.target_arch }} - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: aapt2-${{ matrix.target_arch }} path: ${{ github.workspace }}/build/bin/aapt2-* @@ -55,28 +55,29 @@ jobs: id-token: write contents: write attestations: write + artifact-metadata: write steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # Make sure the release step uses its own credentials: # https://github.com/cycjimmy/semantic-release-action#private-packages persist-credentials: false - name: Download all built artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: ${{ github.workspace }}/build/bin/ merge-multiple: true - name: Generate attestations if: ${{ steps.release.outputs.release_created }} - uses: actions/attest-build-provenance@v2 + uses: actions/attest@v4 with: subject-path: ${{ github.workspace }}/build/bin/aapt2-* - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: "lts/*" cache: 'npm' @@ -85,7 +86,7 @@ jobs: run: npm install - name: Import GPG key - uses: crazy-max/ghaction-import-gpg@v6 + uses: crazy-max/ghaction-import-gpg@v7 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }}