Skip to content

Commit

Permalink
fix: update action publisb to tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
LongxingTan committed Jul 2, 2024
1 parent 2766022 commit f1b28db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: |
poetry config pypi-token.pypi {{ secrets.PYPI_TOKEN }}
poetry publish
poetry publish --build

0 comments on commit f1b28db

Please sign in to comment.