Skip to content

Commit

Permalink
fix: corrected github actions configuration for pypi trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jpagh committed Aug 19, 2024
1 parent 21b2cbe commit e01332c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
deploy:

runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

steps:
- uses: actions/checkout@v4
Expand All @@ -34,6 +37,3 @@ jobs:
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit e01332c

Please sign in to comment.