Skip to content

Commit

Permalink
Use the trusted publisher workflow to publish to PyPI.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Jan 3, 2025
1 parent 25905ce commit 7c54ea8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,4 @@ jobs:

# This uses the trusted publisher workflow so no token is required.
- name: Publish to PyPI
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 7c54ea8

Please sign in to comment.