From c9d47aa206d8654bc567a451ff9c59d9e462c836 Mon Sep 17 00:00:00 2001 From: James Bradbury Date: Fri, 28 Jan 2022 23:51:55 +0000 Subject: [PATCH] enable inputs on release workflow --- .github/workflows/release.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae575cb84..24c933352 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,11 @@ name: Release on: workflow_dispatch: + inputs: + base: + description: 'Base branch to deploy core from' + required: false + default: 'main' jobs: docs: @@ -8,11 +13,11 @@ jobs: steps: - uses: flucoma/actions/env@v4 with: - branch: main + branch: ${{ github.event.inputs.base }} - uses: flucoma/actions/docs@v4 with: target: MAKE_MAX_REF - branch: main + branch: ${{ github.event.inputs.base }} - uses: actions/upload-artifact@v2 with: @@ -25,7 +30,7 @@ jobs: - uses: actions/checkout@v2 - uses: flucoma/actions/env@v4 with: - branch: main + branch: ${{ github.event.inputs.base }} - uses: flucoma/actions/max@v4 - uses: actions/upload-artifact@v2 @@ -41,7 +46,7 @@ jobs: - uses: actions/checkout@v2 - uses: flucoma/actions/env@v4 with: - branch: main + branch: ${{ github.event.inputs.base }} - uses: flucoma/actions/max@v4 - uses: actions/upload-artifact@v2