From 0013c4ffe35ecd1c65fdf0d77bb741696a2ae1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E5=BE=8B=E7=BA=AF?= Date: Wed, 28 Feb 2024 04:22:04 +0800 Subject: [PATCH] fix(workflow): update release step, add pypi_api_token --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 965538f..d9200ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,7 +103,6 @@ jobs: release: name: Release - environment: release runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos, sdist] @@ -113,6 +112,8 @@ jobs: name: wheels - name: Publish to PyPI uses: PyO3/maturin-action@v1 + env: + MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} with: command: upload - args: --skip-existing * + args: --non-interactive --skip-existing *