Skip to content

Commit

Permalink
Use PyPI's trusted publishing (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart authored Jan 23, 2025
1 parent 05bdacc commit 868275b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,13 @@ jobs:
merge-multiple: true
- uses: actions/setup-python@v5
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install --upgrade twine
twine upload --skip-existing dist/*
uses: PyO3/maturin-action@v1
environment: release
permissions:
id-token: write
with:
command: upload
args: --non-interactive --skip-existing dist/*

github-release:
name: Create GitHub release
Expand Down

0 comments on commit 868275b

Please sign in to comment.