limit wheels to windows, otherwise build from src
This commit is contained in:
parent
39936e4472
commit
99dc2a4f40
6
.github/workflows/pypi-publish.yml
vendored
6
.github/workflows/pypi-publish.yml
vendored
@ -17,7 +17,9 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
# It's just easier to recompile from source for Ubuntu and MacOS
|
||||||
|
# Yes, it is...
|
||||||
|
os: [windows-latest] # ubuntu-latest, macos-latest
|
||||||
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -59,7 +61,7 @@ jobs:
|
|||||||
poetry run twine upload dist/*.whl
|
poetry run twine upload dist/*.whl
|
||||||
|
|
||||||
- name: Build and publish (source)
|
- name: Build and publish (source)
|
||||||
if: ${{ startsWith(runner.os, 'ubuntu') && matrix.python-version == '3.11' }}
|
if: ${{ startsWith(runner.os, 'windows') && matrix.python-version == '3.11' }}
|
||||||
env:
|
env:
|
||||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||||
|
Loading…
Reference in New Issue
Block a user