From 2a20bd0208cb2f1436493ab2cd7049e61950bbcc Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Tue, 12 Nov 2024 17:25:09 +0100 Subject: [PATCH] chore(ci): udpate artifact actions to v4 See https://github.com/ipfs/distributions/pull/1112 --- .github/workflows/build.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/test-e2e.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47092c79c..bcda59158 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: - name: Attach produced build to Github Action # only re-upload if we re-built if: steps.build-cache.outputs.cache-hit != 'true' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ipfs-webui_${{ github.sha }}-${{ runner.os }}-build path: build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 124b9e7df..8a180268e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,7 @@ jobs: run: | ipfs dag export ${{ steps.ipfs.outputs.cid }} > ipfs-webui_${{ github.sha }}.car - name: Attach produced build to Github Action - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ipfs-webui_${{ github.sha }}.car path: ipfs-webui_${{ github.sha }}.car @@ -252,7 +252,7 @@ jobs: run: npm ci --prefer-offline --no-audit --progress=false - name: Download CAR artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ipfs-webui_${{ github.sha }}.car diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 0dde394a1..bd062b85d 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -111,7 +111,7 @@ jobs: - name: Store Artifacts from Failed Tests if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results path: test-results/