From 46ca0a9b6d457ac890bfe1e06998a49fe68c050a Mon Sep 17 00:00:00 2001 From: John Bernard <38332081+loqusion@users.noreply.github.com> Date: Sat, 14 Oct 2023 17:11:56 -0500 Subject: [PATCH] ci(release): make pypi publishing optional --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b359720..aeb0c17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,13 @@ name: Release on: release: types: [published] + workflow_dispatch: + inputs: + pypi: + description: Publish to PyPI + default: true + type: boolean + required: false permissions: contents: read @@ -10,6 +17,7 @@ permissions: jobs: release-pypi: name: upload release to PyPI + if: ${{ inputs.pypi }} runs-on: ubuntu-latest environment: PyPI steps: