diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 74bd22d..fbd4cef 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -125,12 +125,12 @@ jobs: runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, macos, sdist] + permissions: + id-token: write steps: - uses: actions/download-artifact@v4 - 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-*/*