diff --git a/.github/workflows/maturin.yml b/.github/workflows/maturin.yml index 309a5ad8..a7fdc922 100644 --- a/.github/workflows/maturin.yml +++ b/.github/workflows/maturin.yml @@ -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 @@ -188,6 +188,7 @@ 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 @@ -195,4 +196,4 @@ jobs: 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-*/*