Skip to content

Commit

Permalink
use trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
alpae committed Nov 18, 2024
1 parent 0f728d7 commit 3141113
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
deploy:

runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v4
Expand All @@ -25,6 +27,3 @@ jobs:
run: hatch build
- name: Publish package
uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 3141113

Please sign in to comment.