ci(ci_yaml): changing publish step to be a manual dispatch

This commit is contained in:
Scott Lyons 2024-09-05 16:12:58 -07:00
commit 1ae970e1e2

View file

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