Skip to content

Commit fd1541c

Browse files
authored
chore(.github): bump artifact actions to v4 (#190)
Signed-off-by: Vaughn Dice <[email protected]>
1 parent e931bca commit fd1541c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/release.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ jobs:
9696
run: make build
9797
- name: Upload Wasm as GitHub artifact
9898
if: matrix.config.buildWasm
99-
uses: actions/upload-artifact@v3
99+
uses: actions/upload-artifact@v4
100100
with:
101-
name: bart
101+
name: bart-wasm
102102
path: target/wasm32-wasi/release/bartholomew.wasm
103103

104104
- name: Build bart
@@ -128,16 +128,16 @@ jobs:
128128
129129
- name: upload binary as GitHub artifact
130130
if: runner.os != 'Windows'
131-
uses: actions/upload-artifact@v3
131+
uses: actions/upload-artifact@v4
132132
with:
133-
name: bart
133+
name: bart-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
134134
path: _dist/bart-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz
135135

136136
- name: upload binary as GitHub artifact
137137
if: runner.os == 'Windows'
138-
uses: actions/upload-artifact@v3
138+
uses: actions/upload-artifact@v4
139139
with:
140-
name: bart
140+
name: bart-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
141141
path: _dist/bart-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.zip
142142

143143
checksums:
@@ -149,9 +149,10 @@ jobs:
149149
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
150150

151151
- name: download release assets
152-
uses: actions/download-artifact@v3
152+
uses: actions/download-artifact@v4
153153
with:
154-
name: bart
154+
pattern: bart-*
155+
merge-multiple: true
155156

156157
- name: generate checksums
157158
run: sha256sum * > checksums-${{ env.RELEASE_VERSION }}.txt

0 commit comments

Comments
 (0)