Skip to content

Commit

Permalink
update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Esgrove committed Oct 30, 2024
1 parent 86b9616 commit 24d0e6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maturin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
needs: [linux, musllinux, windows, macos, sdist]
permissions:
# Use to sign the release artifacts
# Used to sign the release artifacts
id-token: write
# Used to upload release artifacts
contents: write
Expand All @@ -188,11 +188,12 @@ jobs:
uses: actions/attest-build-provenance@v1
with:
subject-path: "wheels-*/*"

- name: Publish to PyPI
if: "startsWith(github.ref, 'refs/tags/')"
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing wheels-*/* --manifest-path python-pyo3/Cargo.toml
args: --non-interactive --skip-existing wheels-*/*

0 comments on commit 24d0e6a

Please sign in to comment.