Skip to content

Commit

Permalink
chore: use PyPI Trusted Publisher for releases (#1500)
Browse files Browse the repository at this point in the history
  • Loading branch information
joerick authored May 16, 2023
1 parent c74083c commit 301dca2
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 @@ -27,6 +27,9 @@ jobs:
needs: [dist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment: pypi
permissions:
id-token: write

steps:
- uses: actions/download-artifact@v3
Expand All @@ -35,6 +38,3 @@ jobs:
path: dist

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

0 comments on commit 301dca2

Please sign in to comment.