From 56f0536b3af251e8165ca014a43cca4d8c53e04d Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Fri, 26 Jan 2024 14:45:20 -0500 Subject: [PATCH] upgrade more actions --- .github/workflows/build-frontend-canister.yml | 2 +- .github/workflows/e2e.yml | 10 +++++----- .github/workflows/publish.yml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-frontend-canister.yml b/.github/workflows/build-frontend-canister.yml index 9c7e3694d7..934ed66cf0 100644 --- a/.github/workflows/build-frontend-canister.yml +++ b/.github/workflows/build-frontend-canister.yml @@ -31,7 +31,7 @@ jobs: run: | ./scripts/update-frontend-canister.sh --release-build - name: Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: assetstorage path: ${{ github.workspace }}/src/distributed/assetstorage.wasm.gz diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 490635701b..a24c93164e 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -62,7 +62,7 @@ jobs: strip dfx if: contains(matrix.os, 'ubuntu') - name: Upload Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dfx-${{ matrix.os }}-rs-${{ hashFiles('rust-toolchain.toml') }} path: ${{ matrix.binary_path }}/dfx @@ -90,7 +90,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Download dfx binary - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dfx-${{ matrix.os }}-rs-${{ hashFiles('rust-toolchain.toml') }} path: /usr/local/bin @@ -123,7 +123,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Download dfx binary - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dfx-${{ matrix.os }}-rs-${{ hashFiles('rust-toolchain.toml') }} path: /usr/local/bin @@ -163,7 +163,7 @@ jobs: - name: Checking out repo uses: actions/checkout@v4 - name: Setting up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' - name: Installing playwright @@ -172,7 +172,7 @@ jobs: playwright install playwright install-deps - name: Download dfx binary - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dfx-${{ matrix.os }}-rs-${{ hashFiles('rust-toolchain.toml') }} path: /usr/local/bin diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 84c02b3785..8a0ec6ce6d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -112,7 +112,7 @@ jobs: - name: Upload Artifacts if: github.ref_type == 'tag' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dfx-artifacts-${{ hashFiles('rust-toolchain.toml') }}-${{ matrix.name }} path: | @@ -144,7 +144,7 @@ jobs: run: echo "VERSION=$GITHUB_REF_NAME" >> $GITHUB_ENV - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dfx-artifacts-${{ hashFiles('rust-toolchain.toml') }}-${{ matrix.name }}