From 6624522423fe13880420011bca7c603da14d7917 Mon Sep 17 00:00:00 2001 From: zzzckck <152148891+zzzckck@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:54:35 +0800 Subject: [PATCH] github: upgrade artifact from v3 to v4.1.7 (#2712) upload-artifact and download-artifact must use same version, otherwise release workflow will fail. https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md --- .github/workflows/pre-release.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index b8658f732..da218e8a1 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -82,28 +82,28 @@ jobs: # ============================== - name: Upload Linux Build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: matrix.os == 'ubuntu-latest' with: name: linux path: ./build/bin/geth - name: Upload MacOS Build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: matrix.os == 'macos-latest' with: name: macos path: ./build/bin/geth - name: Upload Windows Build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: matrix.os == 'windows-latest' with: name: windows path: ./build/bin/geth.exe - name: Upload ARM-64 Build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: matrix.os == 'ubuntu-latest' with: name: arm64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0b57e8d9..b37dfd711 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -81,28 +81,28 @@ jobs: # ============================== - name: Upload Linux Build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: matrix.os == 'ubuntu-latest' with: name: linux path: ./build/bin/geth - name: Upload MacOS Build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: matrix.os == 'macos-latest' with: name: macos path: ./build/bin/geth - name: Upload Windows Build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: matrix.os == 'windows-latest' with: name: windows path: ./build/bin/geth.exe - name: Upload ARM-64 Build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: matrix.os == 'ubuntu-latest' with: name: arm64