aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-02-28 04:22:04 +0800
committer简律纯 <i@jyunko.cn>2024-02-28 04:22:04 +0800
commit0013c4ffe35ecd1c65fdf0d77bb741696a2ae1a2 (patch)
treec8b3082b8bd7efe4ace8384697b3421e83a583b1 /.github/workflows/release.yml
parent11c02f55953539360bf2912f3be1926f8ede5733 (diff)
downloadHydroRoll-0013c4ffe35ecd1c65fdf0d77bb741696a2ae1a2.tar.gz
HydroRoll-0013c4ffe35ecd1c65fdf0d77bb741696a2ae1a2.zip
fix(workflow): update release step, add pypi_api_token
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml5
1 files 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 *