Skip to content

Commit

Permalink
ci: enable pypi trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
xi committed Jun 18, 2024
1 parent 9890183 commit 19e7f81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
needs: [lint, test]
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -42,5 +44,3 @@ jobs:
run: python3 -m build
- name: publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 19e7f81

Please sign in to comment.