Skip to content

Commit

Permalink
BLD: trying to fix Linux wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
saullocastro committed Dec 11, 2022
1 parent 950b650 commit fdfe6b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
if: matrix.runs-on == 'windows-latest' || (matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11') || (matrix.runs-on == 'macos-latest')
if: matrix.runs-on == 'windows-latest' || (matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10') || (matrix.runs-on == 'macos-latest')
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade setuptools wheel twine
Expand All @@ -38,20 +38,20 @@ jobs:
run: |
python3 -m twine upload dist/*.whl
- name: Publish source
if: matrix.runs-on == 'windows-latest' && matrix.python-version == '3.11'
if: matrix.runs-on == 'windows-latest' && matrix.python-version == '3.10'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python3 -m twine upload dist/*.tar.gz
- name: Build manylinux Python wheels
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11'
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10'
uses: RalfG/[email protected]_x86_64
with:
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311'
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311'
build-requirements: 'pip cython numpy setuptools wheel twine'
- name: Publish manylinux Python wheels
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11'
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.10'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit fdfe6b5

Please sign in to comment.