fix: pypi conform platform tagging

This commit is contained in:
Alpha Nerd 2026-04-12 16:05:32 +02:00
parent ed2f9a9634
commit d7614bdd18
Signed by: alpha-nerd
SSH key fingerprint: SHA256:QkkAgVoYi9TQ0UKPkiKSfnerZy2h4qhi3SVPXJmBN+M

View file

@ -26,16 +26,21 @@ jobs:
. .
- name: Install build tools - name: Install build tools
run: pip install build Cython twine run: |
apt-get update -qq && apt-get install -y patchelf
pip install build Cython twine auditwheel
- name: Build wheel - name: Build wheel
run: python -m build --wheel run: python -m build --wheel
- name: Repair wheel to manylinux
run: auditwheel repair dist/*.whl --wheel-dir wheelhouse/
- name: Check wheel metadata - name: Check wheel metadata
run: twine check dist/*.whl run: twine check wheelhouse/*.whl
- name: Publish to PyPI - name: Publish to PyPI
env: env:
TWINE_USERNAME: __token__ TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload --verbose dist/*.whl run: twine upload --verbose wheelhouse/*.whl