Skip to content

Commit

Permalink
Changed the trigger back to release and uncommented deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
concur1 committed Nov 1, 2024
1 parent 1cff778 commit 80abefe
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/python-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
name: CI

on:
pull_request:
push:
tags:
- "v*.*.*"
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -142,18 +144,18 @@ jobs:
name: wheels-sdist
path: crates/cli/dist

#release:
# name: Release
# runs-on: ubuntu-latest
# environment: production
# #if: "startsWith(github.ref, 'refs/tags/')"
# 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-*/*
release:
name: Release
runs-on: ubuntu-latest
environment: production
#if: "startsWith(github.ref, 'refs/tags/')"
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 80abefe

Please sign in to comment.