Skip to content

Commit

Permalink
Switch to using PyPI trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed May 1, 2023
1 parent fe8ffa7 commit 96c540a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,10 @@ jobs:
publish:
name: Publish to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
needs: [source, wheels]
if: github.event_name == 'release'

steps:
- uses: actions/download-artifact@v3

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 96c540a

Please sign in to comment.