Skip to content

Commit

Permalink
ci: Use trusted publishing for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Jan 10, 2024
1 parent 1648e7b commit 7d6caf7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,11 @@ jobs:
# can be published.
needs: [ macos, linux, windows, sdist ]
if: always() && needs.sdist.result == 'success'
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- name: Publish to PyPI
env:
MATURIN_USERNAME: ${{ secrets.PYPI_USERNAME }}
MATURIN_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
uses: messense/maturin-action@v1
with:
command: upload
Expand Down

0 comments on commit 7d6caf7

Please sign in to comment.