From d89250cc3db95ee72d0c418197558898a1ebacf1 Mon Sep 17 00:00:00 2001 From: thinkAfCod Date: Tue, 13 Aug 2024 21:08:05 +0800 Subject: [PATCH] upgrade download artifact --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f049ef6e61d..7924941f625 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,13 +41,13 @@ jobs: echo "zipSha=$(shasum -a 256 op-besu*.zip)" >> $GITHUB_OUTPUT echo "tarSha=$(shasum -a 256 op-besu*.tar.gz)" >> $GITHUB_OUTPUT - name: upload tarball - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 + uses: actions/upload-artifact@v4 with: path: 'build/distributions/op-besu*.tar.gz' name: op-besu-${{ github.event.release.name }}.tar.gz compression-level: 0 - name: upload zipfile - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 + uses: actions/upload-artifact@v4 with: path: 'build/distributions/op-besu*.zip' name: op-besu-${{ github.event.release.name }}.zip @@ -64,7 +64,7 @@ jobs: distribution: temurin java-version: 21 - name: Download zip - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe + uses: actions/download-artifact@v4 with: pattern: op-besu-*.zip merge-multiple: true @@ -288,8 +288,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: ⏬Download all the build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: + pattern: op-besu-*.zip path: distributions - run: ls distributions - name: ✨Github Release (version = ${{ github.event.release.name }})