diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1f3fc97..41f0781 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -114,14 +114,15 @@ jobs: runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos, sdist] + permissions: + id-token: write + environment: release steps: - uses: actions/download-artifact@v3 with: name: 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 *