Skip to content

Commit

Permalink
github: upgrade artifact from v3 to v4.1.7 (#2712)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zzzckck authored Sep 19, 2024
1 parent 206c3b0 commit 6624522
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6624522

Please sign in to comment.