Skip to content

Commit

Permalink
github: update for trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
dlech committed Jun 1, 2024
1 parent 126989e commit 9ba200e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
# upload to PyPI on every tag
if: github.event_name == 'push' && github.ref_type == 'tag'
steps:
Expand All @@ -69,6 +72,3 @@ jobs:
path: dist

- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN4 }}

0 comments on commit 9ba200e

Please sign in to comment.