Skip to content

Commit

Permalink
Fix PyPI authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
jayqi committed Aug 13, 2023
1 parent 53abd39 commit 12e8065
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:
- name: Publish to Test PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TEST_TOKEN }}
user: ${{ secrets.PYPI_TEST_USERNAME }}
password: ${{ secrets.PYPI_TEST_PASSWORD }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true

- name: Publish to Production PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_PROD_TOKEN }}
user: ${{ secrets.PYPI_PROD_USERNAME }}
password: ${{ secrets.PYPI_PROD_PASSWORD }}
skip_existing: false

0 comments on commit 12e8065

Please sign in to comment.