try to upload twine wheels to PyPI on merge to master #15

Open
breznak wants to merge 1 commit from breznak/breznak-patch-upload_pypi into master
Showing only changes of commit b8497cf344 - Show all commits

View file

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