From ef6f654e63821700e446dee20116bfa455e7e325 Mon Sep 17 00:00:00 2001 From: Helge Eichhorn Date: Fri, 15 Nov 2024 21:53:05 +0100 Subject: [PATCH] ci: fix release workflow --- .github/workflows/python.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d78dbc80..4ccd27df 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -161,6 +161,7 @@ jobs: release: name: Release + environment: release runs-on: ubuntu-latest if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} needs: [linux, windows, macos, sdist] @@ -180,8 +181,6 @@ jobs: - name: Publish to PyPI if: "startsWith(github.ref, 'refs/tags/')" uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload args: --non-interactive --skip-existing wheels-*/*