Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/test-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,16 @@ jobs:
for file in *.whl; do
mv "$file" "$(echo "$file" | sed -E 's/macosx_[0-9]+_[0-9]+/macosx_11_0/')";
done
- name: Tag the Linux wheels as manylinux
if: ${{ startsWith(matrix.os, 'ubuntu') }}
# PyPI rejects wheels with the plain `linux_xxx` platform tag.
# The wheels are built inside the Ubuntu 20.04 container (glibc 2.31), so tag them as `manylinux_2_31_xxx`.
run: |
cd ./dist/
for file in *-linux_*.whl; do
[ -e "$file" ] || continue
mv "$file" "$(echo "$file" | sed -E 's/-linux_/-manylinux_2_31_/')";
done
- name: Upload wheel as CI artifacts
uses: actions/upload-artifact@v4
with:
Expand Down