Skip to content

Commit

Permalink
split the twine upload into two versions
Browse files Browse the repository at this point in the history
  • Loading branch information
phenobarbital committed Jan 17, 2024
1 parent 62c39af commit d650af8
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 d650af8

Please sign in to comment.