Skip to content

Commit

Permalink
👷 Use verified PyPI publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Mar 1, 2024
1 parent c21b559 commit 7daef08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
name: Publish package to PyPI
runs-on: ubuntu-latest
needs: tests
environment: release
permissions:
id-token: write

if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

Expand All @@ -65,6 +68,3 @@ jobs:
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 7daef08

Please sign in to comment.