Skip to content

Commit

Permalink
Update publish-to-pypi.yml
Browse files Browse the repository at this point in the history
A follow on to #784. This change also updates the
action to publish to PyPI (official) to use a released
version of gh-action-pypi-publish instead of master.
This change also makes the secret variable stand out
a little more with all caps.
  • Loading branch information
ericwb committed Jan 29, 2022
1 parent 626c845 commit 8c51872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Expand Up @@ -24,6 +24,6 @@ jobs:
- 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:
password: ${{ secrets.pypi_password }}
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 8c51872

Please sign in to comment.