Skip to content

Commit

Permalink
migrate to pypi trusted publishers
Browse files Browse the repository at this point in the history
  • Loading branch information
arska committed Dec 13, 2023
1 parent cc0ac1e commit 54a71d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
name: "Build & verify package"
runs-on: "ubuntu-latest"
needs: [test]
environment: release
permissions:
id-token: write
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-python@v5"
Expand All @@ -48,6 +51,3 @@ jobs:
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 54a71d3

Please sign in to comment.