Skip to content

Commit

Permalink
Update github recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Jul 8, 2024
1 parent c6b7aa9 commit 83d7db9
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,7 @@ jobs:
- name: Publish distribution 📦 to PyPI if Release
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USER }}
password: ${{ secrets.PYPI_PASSWORD }}
skip_existing: true

- name: Publish distribution 📦 to Test PyPI if Push
uses: pypa/gh-action-pypi-publish@master
with:
user: ${{ secrets.TEST_PYPI_USER }}
password: ${{ secrets.TEST_PYPI_PASSWORD }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
password: ${{ secrets.PYPI_API_TOKEN }}
skip-existing: true

0 comments on commit 83d7db9

Please sign in to comment.