@@ -238,9 +238,9 @@ jobs:
238238 apt update -y && apt-get install -y libssl-dev openssl pkg-config
239239 fi
240240 - name : Upload wheels
241- uses : actions/upload-artifact@v3
241+ uses : actions/upload-artifact@v4
242242 with :
243- name : wheels
243+ name : wheels-${{ matrix.target }}
244244 path : dist
245245
246246 windows :
@@ -271,9 +271,9 @@ jobs:
271271 args : --release --out dist --find-interpreter
272272 sccache : ' true'
273273 - name : Upload wheels
274- uses : actions/upload-artifact@v3
274+ uses : actions/upload-artifact@v4
275275 with :
276- name : wheels
276+ name : wheels-${{ matrix.target }}
277277 path : dist
278278
279279 macos_x86 :
@@ -300,9 +300,9 @@ jobs:
300300 args : --release --out dist --find-interpreter
301301 sccache : ' true'
302302 - name : Upload wheels
303- uses : actions/upload-artifact@v3
303+ uses : actions/upload-artifact@v4
304304 with :
305- name : wheels
305+ name : wheels-mac-x86_64
306306 path : dist
307307
308308 macos_aarch64 :
@@ -329,9 +329,9 @@ jobs:
329329 args : --release --out dist --find-interpreter
330330 sccache : ' true'
331331 - name : Upload wheels
332- uses : actions/upload-artifact@v3
332+ uses : actions/upload-artifact@v4
333333 with :
334- name : wheels
334+ name : wheels-mac-aarch64
335335 path : dist
336336
337337 sdist :
@@ -352,7 +352,7 @@ jobs:
352352 command : sdist
353353 args : --out dist
354354 - name : Upload sdist
355- uses : actions/upload-artifact@v3
355+ uses : actions/upload-artifact@v4
356356 with :
357357 name : wheels
358358 path : dist
@@ -366,8 +366,9 @@ jobs:
366366 environment : Publish
367367 needs : [linux, windows, macos_x86, macos_aarch64, sdist]
368368 steps :
369- - uses : actions/download-artifact@v3
369+ - uses : actions/download-artifact@v4
370370 with :
371+ pattern : wheels-*
371372 name : wheels
372373 - name : Publish to PyPI
373374 uses : PyO3/maturin-action@v1
0 commit comments