ci(ci_yaml): changing publish step to be a manual dispatch
This commit is contained in:
parent
f90bd5f61a
commit
1ae970e1e2
1 changed files with 8 additions and 8 deletions
16
.github/workflows/CI.yaml
vendored
16
.github/workflows/CI.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue