Skip to content

Commit

Permalink
add twine upload to CI workflow release step
Browse files Browse the repository at this point in the history
  • Loading branch information
jvmncs committed Jul 27, 2022
1 parent 23581d7 commit 1a64063
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,15 @@ jobs:
asset_path: wheelhouse.zip
asset_name: wheelhouse.zip
asset_content_type: application/zip
# - name: Publish to PyPI
# uses: messense/maturin-action@v1
# env:
# MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
# with:
# command: upload
# args: --skip-existing *
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
rm wheelhouse.zip
pip install --upgrade twine
twine upload --skip-existing *
working-directory: ${{ steps.download.outputs.download-path }}

0 comments on commit 1a64063

Please sign in to comment.