Skip to content

Commit

Permalink
use PyPI trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Oct 6, 2024
1 parent bb094f3 commit 415bd1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
name: Deploy
needs: test
runs-on: ubuntu-latest
environment: pypi
permissions: {contents: write, id-token: write, packages: write}
steps:
- uses: actions/checkout@v4
with: {fetch-depth: 0}
Expand All @@ -68,7 +70,6 @@ jobs:
- id: dist
uses: casperdcl/deploy-pypi@v2
with:
password: ${{ secrets.TWINE_PASSWORD }}
gpg_key: ${{ secrets.GPG_KEY }}
upload: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
- id: collect_assets
Expand Down

0 comments on commit 415bd1d

Please sign in to comment.