From c0c4a0b7955c1fe12994227ed1d63fc979a812c7 Mon Sep 17 00:00:00 2001 From: ZJaume Date: Tue, 6 Aug 2024 14:57:20 +0000 Subject: [PATCH] GA: test PyPi release --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb2aa4a..210bb34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,6 +84,9 @@ jobs: release: name: Release + environment: release + permissions: + id-token: write runs-on: ubuntu-22.04 if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, sdist] @@ -92,7 +95,7 @@ jobs: - name: Publish to PyPI uses: PyO3/maturin-action@v1 env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + MATURIN_REPOSITORY: testpypi with: command: upload args: --non-interactive --skip-existing wheels-*/*