Skip to content

Commit

Permalink
feat: use tagged Github Action
Browse files Browse the repository at this point in the history
The `pypa/gh-action-pypi-publish` no longer suggests
to use the `master`, so we are replacing to use the latest tagged version.
  • Loading branch information
igobranco committed Apr 18, 2024
1 parent e6158a3 commit 1f9f05f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
--outdir dist/
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@master
# uses: pypa/gh-action-pypi-publish@v1.8.14
# 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')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@v1.8.14
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 1f9f05f

Please sign in to comment.