From b6de1996dbff128ff08b88cc89fbbdc04d7eeb8d Mon Sep 17 00:00:00 2001 From: zhijie-yang Date: Tue, 21 Jan 2025 10:23:13 +0100 Subject: [PATCH] chore(ci): bump artifact actions to v4 (#193) Bumps upload-artifact and download-artifact actions to v4, as v3 is deprecated. --- .github/workflows/build.yml | 2 +- .github/workflows/snap.yml | 4 ++-- .github/workflows/tests.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3d7ed64..90da8be6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -102,7 +102,7 @@ jobs: echo "ARCHIVE_FILE_SHA384=${ARCHIVE_FILE_SHA384}" >>$GITHUB_OUTPUT - name: Upload archive as Actions artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.archive.outputs.ARCHIVE_FILE }} path: | diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 44e8e9e2..c78c0c73 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -27,7 +27,7 @@ jobs: uses: snapcore/action-build@v1 - name: Attach chisel snap to GH workflow execution - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.build-chisel-snap.outputs.snap }} path: ${{ steps.build-chisel-snap.outputs.snap }} @@ -40,7 +40,7 @@ jobs: chisel-version: ${{ steps.install-chisel-snap.outputs.version }} steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: ${{ needs.build.outputs.chisel-snap }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0f2e0425..64c5ce99 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -37,7 +37,7 @@ jobs: fi - name: Upload HTML test coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() continue-on-error: true with: