From 24d0e6af2a2eb4613d196e172b8ea731d42ed4b0 Mon Sep 17 00:00:00 2001 From: Akseli Lukkarila Date: Wed, 30 Oct 2024 12:08:44 +0200 Subject: [PATCH] update release workflow --- .github/workflows/maturin.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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-*/*