mirror of
https://github.com/Z3Prover/z3
synced 2026-07-14 19:15:41 +00:00
Nightly: rewrite unsupported macOS wheel tags for test.PyPI
This commit is contained in:
parent
b1053aa7a7
commit
aa0b9ae02e
1 changed files with 6 additions and 3 deletions
9
.github/workflows/nightly.yml
vendored
9
.github/workflows/nightly.yml
vendored
|
|
@ -915,11 +915,14 @@ jobs:
|
|||
name: PythonPackages
|
||||
path: dist
|
||||
|
||||
- name: Exclude macOS wheels unsupported by test.PyPI
|
||||
- name: Rewrite macOS wheel tags unsupported by test.PyPI
|
||||
run: |
|
||||
# test.PyPI rejects current macOS wheel tags such as macosx_13_3_*.
|
||||
# Keep publishing sdist + Linux/Windows wheels so this validation job remains useful.
|
||||
rm -f dist/*-macosx_*.whl
|
||||
# Rewrite only the unsupported 13_3 tag to 13 for upload validation.
|
||||
for whl in dist/*-macosx_13_3_*.whl; do
|
||||
[ -e "$whl" ] || continue
|
||||
mv "$whl" "${whl/macosx_13_3_/macosx_13_}"
|
||||
done
|
||||
ls -l dist
|
||||
|
||||
- name: Publish to PyPI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue