Skip to content

Commit

Permalink
only upload manylinux wheels.
Browse files Browse the repository at this point in the history
  • Loading branch information
manoskary committed Jul 18, 2024
1 parent 7f9aa1e commit 9def672
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
with:
fetch-depth: 0
- name: Install dependencies
run: |
run: |
python -m pip install --upgrade pip
pip install twine flake8
- name: Build manylinux Python wheels
uses: RalfG/[email protected]_x86_64
with:
python-versions: 'cp310-cp310 cp311-cp311'
build-requirements: 'numpy'
- name: Remove non manylinux wheels
- name: Publish wheels to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
rm -rf dist/*-linux_*.whl
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
twine upload dist/*-manylinux*.whl

0 comments on commit 9def672

Please sign in to comment.