Skip to content

Commit

Permalink
chore: update PyPI publishing workflow to use token authentication
Browse files Browse the repository at this point in the history
- Update the PyPI workflow action to use the `release/v1` version
- The publishing to PyPI now uses a token instead of a password

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed Jun 4, 2024
1 parent efd8646 commit b370aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: >-
python setup.py sdist
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
Expand Down

0 comments on commit b370aa5

Please sign in to comment.