Skip to content

Commit

Permalink
Use PyPI trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen authored Aug 21, 2023
1 parent 52414db commit 8e79551
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
name: Deploy packages
needs: [build_wheels]
runs-on: ubuntu-22.04
environment: release
permissions:
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v2
- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

docs:
needs: upload_packages
Expand Down

0 comments on commit 8e79551

Please sign in to comment.