Skip to content

Commit

Permalink
Switch test pypi release to trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Jan 16, 2025
1 parent 1a51ca6 commit 87d151d
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 @@ -107,6 +107,8 @@ jobs:
needs: [test, build_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
permissions:
id-token: write
steps:
- uses: actions/[email protected]
with:
Expand All @@ -116,10 +118,8 @@ jobs:
with:
name: src_dist
path: dist
- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
upload_pypi_release:
Expand Down

0 comments on commit 87d151d

Please sign in to comment.