Skip to content

Commit

Permalink
Use PyPI token instead of username and password in the package publis…
Browse files Browse the repository at this point in the history
…hing action
  • Loading branch information
IshaanDesai authored and BenjaminRodenberg committed Aug 27, 2024
1 parent 32016e8 commit 0cddb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
pkgconfig
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist
twine upload dist/*

0 comments on commit 0cddb90

Please sign in to comment.