File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -190,18 +190,6 @@ jobs:
190190 python -m pip install --upgrade build
191191 python -m build --wheel
192192
193- - name : Rename wheels from universal2 to arm64
194- run : |
195- # Rename universal2 wheels to arm64 since they aren't truly universal
196- for wheel in dist/*universal2.whl; do
197- if [ -f "$wheel" ]; then
198- new_wheel=$(echo "$wheel" | sed 's/universal2/arm64/')
199- echo "Renaming: $(basename "$wheel") -> $(basename "$new_wheel")"
200- mv "$wheel" "$new_wheel"
201- fi
202- done
203- shell : bash
204-
205193 - name : Test
206194 run : |
207195 pip3 install dist/*.whl
@@ -216,6 +204,18 @@ jobs:
216204 exit 1
217205 fi
218206
207+ - name : Rename wheels from universal2 to arm64
208+ run : |
209+ # Rename universal2 wheels to arm64 since they aren't truly universal
210+ for wheel in dist/*universal2.whl; do
211+ if [ -f "$wheel" ]; then
212+ new_wheel=$(echo "$wheel" | sed 's/universal2/arm64/')
213+ echo "Renaming: $(basename "$wheel") -> $(basename "$new_wheel")"
214+ mv "$wheel" "$new_wheel"
215+ fi
216+ done
217+ shell : bash
218+
219219 - name : Upload build Artifact wheel
220220 uses : actions/upload-artifact@v4
221221 with :
You can’t perform that action at this time.
0 commit comments