From 852717cef8fb0b48beca52b10bfb34f40609f8f8 Mon Sep 17 00:00:00 2001 From: Curve Date: Mon, 2 Sep 2024 16:58:11 +0200 Subject: [PATCH] refactor(ci): allow to specify ref --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee0a7a2..070f357 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,11 @@ on: push: workflow_dispatch: + inputs: + ref: + type: string + default: master + description: The ref of saucer to use name: 🏗️ Build Bindings @@ -51,7 +56,7 @@ jobs: repository: "saucer/saucer" sparse-checkout: ".github" path: "actions" - ref: master + ref: ${{ github.event.inputs.ref || 'master' }} - name: 🛸 Setup Saucer uses: ./actions/.github/actions/setup