Skip to content

Commit

Permalink
Migrate to trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexprengere committed Mar 16, 2024
1 parent 414846a commit 0782b7f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,12 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
needs: [dist_check]
name: PyPI upload
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 0782b7f

Please sign in to comment.