96
96
run : make build
97
97
- name : Upload Wasm as GitHub artifact
98
98
if : matrix.config.buildWasm
99
- uses : actions/upload-artifact@v3
99
+ uses : actions/upload-artifact@v4
100
100
with :
101
- name : bart
101
+ name : bart-wasm
102
102
path : target/wasm32-wasi/release/bartholomew.wasm
103
103
104
104
- name : Build bart
@@ -128,16 +128,16 @@ jobs:
128
128
129
129
- name : upload binary as GitHub artifact
130
130
if : runner.os != 'Windows'
131
- uses : actions/upload-artifact@v3
131
+ uses : actions/upload-artifact@v4
132
132
with :
133
- name : bart
133
+ name : bart-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
134
134
path : _dist/bart-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz
135
135
136
136
- name : upload binary as GitHub artifact
137
137
if : runner.os == 'Windows'
138
- uses : actions/upload-artifact@v3
138
+ uses : actions/upload-artifact@v4
139
139
with :
140
- name : bart
140
+ name : bart-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
141
141
path : _dist/bart-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.zip
142
142
143
143
checksums :
@@ -149,9 +149,10 @@ jobs:
149
149
run : echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
150
150
151
151
- name : download release assets
152
- uses : actions/download-artifact@v3
152
+ uses : actions/download-artifact@v4
153
153
with :
154
- name : bart
154
+ pattern : bart-*
155
+ merge-multiple : true
155
156
156
157
- name : generate checksums
157
158
run : sha256sum * > checksums-${{ env.RELEASE_VERSION }}.txt
0 commit comments