Skip to content

Commit

Permalink
Pin pypi publish to supported version
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidy22 committed Jan 4, 2025
1 parent 8d2c690 commit bab862f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ jobs:
make generate-paths
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
verify_metadata: false
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@release/v1
with:
verify_metadata: false
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit bab862f

Please sign in to comment.