From 8604b4ae674555b02e08f2ac9f4ba5d59c4c4995 Mon Sep 17 00:00:00 2001 From: nk_ysg Date: Thu, 26 Dec 2024 19:50:42 +0800 Subject: [PATCH] use upload-artifact v4 (#4362) --- .github/workflows/benchmark.yml | 2 +- .github/workflows/release_asset.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 982961fa63..5279476230 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -25,7 +25,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - name: upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: bench-artifact path: benchmarks/target/criterion/ diff --git a/.github/workflows/release_asset.yml b/.github/workflows/release_asset.yml index f221739c1d..d057960d7c 100644 --- a/.github/workflows/release_asset.yml +++ b/.github/workflows/release_asset.yml @@ -57,7 +57,7 @@ jobs: run: bash ./scripts/release_mpm.sh ${{ matrix.platform }} - name: upload artifact asset - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ github.event_name != 'release'}} with: name: starcoin-${{ matrix.platform }}.zip @@ -113,7 +113,7 @@ jobs: run: bash ./scripts/release_mpm.sh 'ubuntu-18.04' - name: upload artifact asset - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ github.event_name != 'release'}} with: name: starcoin-ubuntu-18.04.zip