Skip to content

Commit

Permalink
Use Trusted Publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
wavy-cat committed Mar 2, 2024
1 parent 41403ce commit 33b363d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
strategy:
matrix:
python-version: [3.8]
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -31,6 +33,3 @@ jobs:
- name: Upload package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 33b363d

Please sign in to comment.