Skip to content

Commit

Permalink
Merge pull request #945 from phenobarbital/bump-version
Browse files Browse the repository at this point in the history
split the twine upload into two versions
  • Loading branch information
phenobarbital authored Jan 17, 2024
2 parents 92fd78f + d650af8 commit 4eccd9f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,16 @@ jobs:
- name: Install twine
run: pip install twine

- name: Publish wheels to Production PyPI
- name: Publish manylinux wheels to Production PyPI
if: contains(steps.list_files.outputs.files, 'manylinux')
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.ASYNCDB_PYPI_API_TOKEN }}
run: twine upload dist/*.whl
run: twine upload dist/*-manylinux*.whl

- name: Publish Windows wheels to Production PyPI
if: contains(steps.list_files.outputs.files, 'win')
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.ASYNCDB_PYPI_API_TOKEN }}
run: twine upload dist/*-win_*.whl

0 comments on commit 4eccd9f

Please sign in to comment.