Skip to content

Commit

Permalink
Using API Token for PyPI authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWilhelm committed Jul 23, 2022
1 parent e08bb83 commit 953060e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-package.yml
Expand Up @@ -25,8 +25,8 @@ jobs:
python-version: 3.7
- name: Build Project and Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install --upgrade pip setuptools tox
python -m tox -e clean,build,publish -- --verbose --repository pypi

0 comments on commit 953060e

Please sign in to comment.