Skip to content

Commit

Permalink
Update python ci (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci authored Oct 16, 2024
1 parent 80e7765 commit ed76bf6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/python-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
name: Python CI

on:
release:
types:
# published triggers for both releases and prereleases
- published
workflow_dispatch:
schedule:
# run every day at 4am
Expand Down Expand Up @@ -181,14 +177,12 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: ${{ github.event_name == 'release' }}
if: ${{ github.event_name == 'workflow_dispatch' }}
needs: [linux, musllinux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
- name: Publish to PyPI
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 ed76bf6

Please sign in to comment.