Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
Fixed pypa/gh-action-pypi-publish release
  • Loading branch information
marc-perreaut authored Dec 23, 2024
1 parent 37a527d commit 977c26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
.
- name: Publish distribution 📦 to Test PyPI
if: startsWith(github.ref, 'refs/tags/pre-v')
uses: pypa/gh-action-pypi-publish@release/v1.12.3
uses: pypa/gh-action-pypi-publish@release/v1.12
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@release/v1.12.3
uses: pypa/gh-action-pypi-publish@release/v1.12
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 977c26f

Please sign in to comment.