Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iAniket23 authored Nov 16, 2024
1 parent 1324a4f commit df1343a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ jobs:
run: |
poetry check
poetry build
- name: Publish to PyPI
- name: Configure Poetry with PyPI token
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish --username __token__ --password $PYPI_API_TOKEN
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: poetry config pypi-token.pypi $PYPI_API_TOKEN
- name: Publish to PyPI
run: |
poetry publish

0 comments on commit df1343a

Please sign in to comment.