try to upload twine wheels to PyPI on merge to master #15
1 changed files with 11 additions and 5 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue