From f3343c89e94fc770db566634445074151c52a994 Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Wed, 22 Jan 2025 15:28:31 +0900 Subject: [PATCH] ci: fix python PyPI release workflow (#5108) --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ae8cb7e028ca..83f5899f0345 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -316,6 +316,8 @@ jobs: runs-on: ubuntu-22.04 needs: [build-python-wheels] if: github.event_name == 'release' + permissions: + id-token: write strategy: matrix: package: @@ -330,8 +332,6 @@ jobs: merge-multiple: true - name: Publish to PyPI uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload args: --skip-existing *