Skip to content

Commit

Permalink
use trusted publisher for release
Browse files Browse the repository at this point in the history
  • Loading branch information
lldelisle committed Apr 29, 2024
1 parent a8336dd commit e139208
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
deploy:

runs-on: ubuntu-latest

permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -33,7 +35,4 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/[email protected]

0 comments on commit e139208

Please sign in to comment.