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 committed Feb 5, 2024
1 parent b1c3565 commit a4229d2
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 a4229d2

Please sign in to comment.