Skip to content

Commit

Permalink
Update GitHub Actions workflow to use PyPI API token for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
fcakyon committed Dec 16, 2024
1 parent 20f3779 commit 254cce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload --verbose --skip-existing dist/*

0 comments on commit 254cce5

Please sign in to comment.