From cd9f2743fd496618d2a61581831a7240b54332a9 Mon Sep 17 00:00:00 2001 From: Owen Green Date: Mon, 9 Jun 2025 17:14:21 +0100 Subject: [PATCH] SC action: add input to select SC branch --- sc/action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sc/action.yaml b/sc/action.yaml index 0fbd0d2..ec89cbc 100644 --- a/sc/action.yaml +++ b/sc/action.yaml @@ -13,6 +13,10 @@ inputs: description: 'Select a specific branch for flucoma-core' required: false default: 'main' + sc_branch: + description: 'Select an SC branch to use' + requireed: false + default: 'main' runs: using: "composite" steps: @@ -23,7 +27,7 @@ runs: python-version: '3.9' - name: Get SuperCollider Source - run: git clone --single-branch --branch main --recursive https://github.com/supercollider/supercollider.git sdk + run: git clone --single-branch --branch ${{ inputs.sc_branch }} --recursive https://github.com/supercollider/supercollider.git sdk shell: bash - name: Conditionally download flucoma-core