From 9a9daf156f90e71f5db070fbc4eb979b270d0556 Mon Sep 17 00:00:00 2001 From: Jagger <634750802@qq.com> Date: Sat, 14 Sep 2024 10:11:11 +0800 Subject: [PATCH] Revert "ci: revert actions version" This reverts commit 79512915424e52a5bad6914ab884ea160970b21f. --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 342d3f426..33648c95d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,7 +86,7 @@ jobs: if: steps.prod-dep-caches.outputs.cache-hit != 'true' - name: Archive dist artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist-${{ inputs.build-env }} path: | @@ -101,14 +101,14 @@ jobs: ./public - name: Archive static artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: static-${{ inputs.build-env }} path: | .next/static - name: Archive public artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: public-${{ inputs.build-env }} path: | @@ -127,7 +127,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download dist artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist-${{ inputs.build-env }} @@ -150,7 +150,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download static artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: static-${{ inputs.build-env }} path: .next/static @@ -171,7 +171,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download public artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: public-${{ inputs.build-env }} path: public