Skip to content

Commit

Permalink
fix(workflow): update release step, add pypi_api_token
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian committed Feb 27, 2024
1 parent 11c02f5 commit 0013c4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 *

0 comments on commit 0013c4f

Please sign in to comment.