Skip to content

Commit 6624522

Browse files
authored
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
1 parent 206c3b0 commit 6624522

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/pre-release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,28 +82,28 @@ jobs:
8282
# ==============================
8383

8484
- name: Upload Linux Build
85-
uses: actions/upload-artifact@v3
85+
uses: actions/upload-artifact@v4.1.7
8686
if: matrix.os == 'ubuntu-latest'
8787
with:
8888
name: linux
8989
path: ./build/bin/geth
9090

9191
- name: Upload MacOS Build
92-
uses: actions/upload-artifact@v3
92+
uses: actions/upload-artifact@v4.1.7
9393
if: matrix.os == 'macos-latest'
9494
with:
9595
name: macos
9696
path: ./build/bin/geth
9797

9898
- name: Upload Windows Build
99-
uses: actions/upload-artifact@v3
99+
uses: actions/upload-artifact@v4.1.7
100100
if: matrix.os == 'windows-latest'
101101
with:
102102
name: windows
103103
path: ./build/bin/geth.exe
104104

105105
- name: Upload ARM-64 Build
106-
uses: actions/upload-artifact@v3
106+
uses: actions/upload-artifact@v4.1.7
107107
if: matrix.os == 'ubuntu-latest'
108108
with:
109109
name: arm64

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -81,28 +81,28 @@ jobs:
8181
# ==============================
8282

8383
- name: Upload Linux Build
84-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@v4.1.7
8585
if: matrix.os == 'ubuntu-latest'
8686
with:
8787
name: linux
8888
path: ./build/bin/geth
8989

9090
- name: Upload MacOS Build
91-
uses: actions/upload-artifact@v3
91+
uses: actions/upload-artifact@v4.1.7
9292
if: matrix.os == 'macos-latest'
9393
with:
9494
name: macos
9595
path: ./build/bin/geth
9696

9797
- name: Upload Windows Build
98-
uses: actions/upload-artifact@v3
98+
uses: actions/upload-artifact@v4.1.7
9999
if: matrix.os == 'windows-latest'
100100
with:
101101
name: windows
102102
path: ./build/bin/geth.exe
103103

104104
- name: Upload ARM-64 Build
105-
uses: actions/upload-artifact@v3
105+
uses: actions/upload-artifact@v4.1.7
106106
if: matrix.os == 'ubuntu-latest'
107107
with:
108108
name: arm64

0 commit comments

Comments
 (0)