@@ -124,7 +124,7 @@ jobs:
124
124
- name : Upload wheels
125
125
uses : actions/upload-artifact@v4
126
126
with :
127
- name : wheels
127
+ name : wheels-linux-${{ matrix.runs-on }}
128
128
path : dist
129
129
130
130
windows :
@@ -168,7 +168,7 @@ jobs:
168
168
- name : Upload wheels
169
169
uses : actions/upload-artifact@v4
170
170
with :
171
- name : wheels
171
+ name : wheels-windows-${{ matrix.runs-on }}
172
172
path : dist
173
173
174
174
macos :
@@ -213,13 +213,23 @@ jobs:
213
213
- name : Upload wheels
214
214
uses : actions/upload-artifact@v4
215
215
with :
216
- name : wheels
216
+ name : wheels-macos-${{ matrix.runs-on }}
217
217
path : dist
218
218
219
+ merge :
220
+ runs-on : ubuntu-latest
221
+ needs : [ macos, windows, linux ]
222
+ steps :
223
+ - name : Merge Artifacts
224
+ uses : actions/upload-artifacts/merge@v4
225
+ with :
226
+ name : wheels
227
+ pattern : wheels-*
228
+
219
229
test-mdbook-python :
220
230
name : Test MDBook Python Snippets
221
231
runs-on : ubuntu-latest
222
- needs : [linux ]
232
+ needs : [merge ]
223
233
steps :
224
234
- uses : actions/checkout@v4
225
235
@@ -253,7 +263,7 @@ jobs:
253
263
test-mdbook-build :
254
264
name : Test MDBook Building
255
265
runs-on : ubuntu-latest
256
- needs : [linux ]
266
+ needs : [merge ]
257
267
steps :
258
268
- uses : actions/checkout@v4
259
269
@@ -287,7 +297,7 @@ jobs:
287
297
name : Release
288
298
runs-on : ubuntu-latest
289
299
if : startsWith(github.ref, 'refs/tags/python-')
290
- needs : [linux, windows, macos , test-mdbook-python, test-mdbook-build]
300
+ needs : [merge , test-mdbook-python, test-mdbook-build]
291
301
steps :
292
302
- uses : actions/checkout@v4
293
303
with :
0 commit comments