Skip to content

Commit

Permalink
Add tokens for PyPI release
Browse files Browse the repository at this point in the history
  • Loading branch information
FanwangM committed Oct 1, 2024
1 parent 8fbcf54 commit f45185e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ jobs:
path: dist/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

github-release:
name: Sign the Python distribution with Sigstore and upload them to GitHub Release
Expand Down

0 comments on commit f45185e

Please sign in to comment.