try to upload twine wheels to PyPI on merge to master

This commit is contained in:
breznak 2023-08-23 20:14:11 +02:00 committed by GitHub
parent 028570c565
commit b8497cf344
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,12 @@ jobs:
path: dist/
- name: Install twine
run: python -m pip install twine
- name: Publishing to pypi
run: twine upload --skip-existing --disable-progress-bar dist/*.whl
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
macos:
strategy:
fail-fast: true
@ -76,8 +82,8 @@ jobs:
with:
name: wheels
path: dist/
# - name: Publishing to pypi
# run: twine upload --skip-existing --disable-progress-bar dist/*.whl
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
- name: Publishing to pypi
run: twine upload --skip-existing --disable-progress-bar dist/*.whl
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}