Skip to content

Commit

Permalink
use token instead of username/password for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Koeng101 committed Aug 11, 2024
1 parent 05f0457 commit 390e977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ jobs:

- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
for wheel in dist/**/*.whl; do
twine upload "$wheel"
Expand Down

0 comments on commit 390e977

Please sign in to comment.