Skip to content

Commit

Permalink
use pypi trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
amoffat committed May 31, 2024
1 parent 2025cc2 commit a451ef8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ jobs:
needs: test
runs-on: ubuntu-latest
if: github.ref_name == 'master'

permissions:
id-token: write

steps:
- uses: actions/checkout@v2

Expand All @@ -163,5 +167,3 @@ jobs:

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

0 comments on commit a451ef8

Please sign in to comment.