From dafa553fcd88995548b0fbbbeffa5ce629dbe251 Mon Sep 17 00:00:00 2001 From: geisserml Date: Tue, 31 Oct 2023 19:16:30 +0100 Subject: [PATCH] make conda opt-in --- .github/workflows/main.yaml | 4 ++++ .github/workflows/trigger_main.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1e6430c0c..c1454a51e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -14,6 +14,9 @@ on: publish: default: false type: boolean + conda: + default: false + type: boolean py_version: default: '3.10' type: string @@ -233,6 +236,7 @@ jobs: workflow: gh_pages.yaml # takes no inputs conda_trigger: + if: ${{ inputs.conda }} needs: [build, test, publish] runs-on: ${{ inputs.runner }} diff --git a/.github/workflows/trigger_main.yaml b/.github/workflows/trigger_main.yaml index 397eaa1d7..e5eaf4293 100644 --- a/.github/workflows/trigger_main.yaml +++ b/.github/workflows/trigger_main.yaml @@ -28,6 +28,7 @@ jobs: "pre_test": "false", "test": "true", "publish": "true", + "conda": "true", "py_version": "3.10", "runner": "ubuntu-latest" }