Skip to content

Commit

Permalink
Switch to secretless trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Apr 18, 2024
1 parent 5915098 commit effd6a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ jobs:
name: Upload if release
needs: merge_wheels
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'

steps:
Expand All @@ -81,6 +84,3 @@ jobs:
path: dist

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

0 comments on commit effd6a0

Please sign in to comment.