Skip to content

Commit

Permalink
Change to pypa default guidelines for pypi upload
Browse files Browse the repository at this point in the history
  • Loading branch information
thouska committed Sep 8, 2022
1 parent 88ad79c commit 2a91611
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,10 @@ jobs:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
verbose: true

- name: Publish to PyPI
# only if tagged
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 2a91611

Please sign in to comment.