Merge pull request #2 from slyons/dev/pylib

Changing publish step to be a manual dispatch
This commit is contained in:
Scott Lyons 2024-09-05 16:13:47 -07:00 • committed by GitHub
commit 13c1fae963
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,12 +6,12 @@
name: CI
on:
push:
branches:
- main
- master
tags:
- '*'
#push:
# branches:
# - main
# - master
# tags:
# - '*'
pull_request:
workflow_dispatch:
@ -210,7 +210,7 @@ jobs:
python_release:
name: Python Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: ${{ github.event_name == 'workflow_dispatch' }}
needs: [linux, musllinux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
@ -224,7 +224,7 @@ jobs:
crate_release:
name: Crates.io Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: ${{ github.event_name == 'workflow_dispatch' }}
needs: [linux, musllinux, windows, macos, sdist]
steps:
- uses: actions/checkout@v4