Skip to content

Commit

Permalink
Set the environment to release (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
kralka authored Dec 2, 2024
1 parent fef3ea8 commit 00bcc55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/maturin_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
needs: [linux, sdist]
permissions:
Expand All @@ -111,8 +112,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-*/*

0 comments on commit 00bcc55

Please sign in to comment.