Skip to content

Commit

Permalink
use PIP_API_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
yindaheng98 committed Jan 3, 2024
1 parent 6381178 commit 7b833b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pip-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
- name: Upload
env:
PIP_USERNAME: ${{ secrets.PIP_USERNAME }}
PIP_PASSWORD: ${{ secrets.PIP_PASSWORD }}
PIP_API_TOKEN: ${{ secrets.PIP_API_TOKEN }}
run: |
python -m twine upload dist/* --username ${PIP_USERNAME} --password ${PIP_PASSWORD} --skip-existing
python -m twine upload dist/* --username __token__ --password ${PIP_API_TOKEN} --skip-existing

0 comments on commit 7b833b8

Please sign in to comment.