From 1ae970e1e283d63e3fdef68a823748e041f838b8 Mon Sep 17 00:00:00 2001 From: Scott Lyons Date: Thu, 5 Sep 2024 16:12:58 -0700 Subject: [PATCH] ci(ci_yaml): changing publish step to be a manual dispatch --- .github/workflows/CI.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index eb8762b..eb04d6d 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -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