2222 with :
2323 fetch-depth : 0
2424 - name : Set up Python
25- uses : actions/setup-python@v4
25+ uses : actions/setup-python@v5
2626 - name : Install dependencies
2727 run : pip install ruff black
2828 - name : Ruff
9191 sccache : true
9292 manylinux : auto
9393 - name : Upload wheels
94- uses : actions/upload-artifact@v3
94+ uses : actions/upload-artifact@v4
9595 with :
96- name : wheels
96+ name : wheels-linux-${{ matrix.target }}
9797 path : dist
9898 - name : pytest
9999 if : ${{ startsWith(matrix.target, 'x86_64') }}
@@ -104,7 +104,7 @@ jobs:
104104 pytest --import-mode=importlib
105105 - name : pytest
106106 if : ${{ !startsWith(matrix.target, 'x86') && matrix.target != 'ppc64' }}
107- uses : uraimo/run-on-arch-action@v2.6.0
107+ uses : uraimo/run-on-arch-action@v2.7.1
108108 with :
109109 arch : ${{ matrix.target }}
110110 distro : ubuntu22.04
@@ -138,9 +138,9 @@ jobs:
138138 args : --release --out dist --interpreter 3.8 pypy3.8 pypy3.9 pypy3.10
139139 sccache : true
140140 - name : Upload wheels
141- uses : actions/upload-artifact@v3
141+ uses : actions/upload-artifact@v4
142142 with :
143- name : wheels
143+ name : wheels-windows-${{ matrix.target }}
144144 path : dist
145145 - name : pytest
146146 if : ${{ !startsWith(matrix.target, 'aarch64') }}
@@ -169,9 +169,9 @@ jobs:
169169 args : --release --out dist --interpreter 3.8 pypy3.8 pypy3.9 pypy3.10
170170 sccache : true
171171 - name : Upload wheels
172- uses : actions/upload-artifact@v3
172+ uses : actions/upload-artifact@v4
173173 with :
174- name : wheels
174+ name : wheels-macos-${{ matrix.target }}
175175 path : dist
176176 - name : pytest
177177 if : ${{ !startsWith(matrix.target, 'aarch64') }}
@@ -194,9 +194,9 @@ jobs:
194194 command : sdist
195195 args : --out dist
196196 - name : Upload sdist
197- uses : actions/upload-artifact@v3
197+ uses : actions/upload-artifact@v4
198198 with :
199- name : wheels
199+ name : wheels-sdist
200200 path : dist
201201
202202 release :
@@ -208,9 +208,10 @@ jobs:
208208 # Used to upload release artifacts
209209 contents : write
210210 steps :
211- - uses : actions/download-artifact@v3
211+ - uses : actions/download-artifact@v4
212212 with :
213- name : wheels
213+ pattern : wheels-*
214+ merge-multiple : true
214215 - name : Publish to PyPI
215216 uses : PyO3/maturin-action@v1
216217 env :
0 commit comments