Skip to content

Commit

Permalink
Implement trusted publishing for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
masklinn committed Oct 5, 2024
1 parent 72e0f2a commit ccd25fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pyo3-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
contents: write
# Used to generate artifact attestation
attestations: write
environment: release
steps:
- uses: actions/download-artifact@v4
- name: Generate artifact attestation
Expand All @@ -107,8 +108,6 @@ jobs:
subject-path: 'wheels-*/*'
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*
Expand Down

0 comments on commit ccd25fd

Please sign in to comment.