From 64cbd151a648d523473a104e777d7ce02a86f915 Mon Sep 17 00:00:00 2001 From: tuna2134 Date: Sun, 22 Sep 2024 07:36:03 +0000 Subject: [PATCH] change to openid upload --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 99a4b1a..d2be74f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,6 +17,7 @@ on: permissions: contents: read + id-token: write jobs: linux: @@ -121,12 +122,11 @@ jobs: runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos, sdist] + environment: release 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-*/*