From 4ef319822393f19b796d66cedfaa328c7331e6cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Tue, 4 Oct 2022 01:28:58 -0700 Subject: [PATCH] ci: enable pre-release from custom branch (#775) --- .github/workflows/pre-release.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 237bab1f..8761624e 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -7,11 +7,19 @@ on: description: 'Pre-release version (without "v" prefix)' required: true + branch: + description: 'Branch of this repo to build (default "master")' + default: master + required: false + jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.inputs.branch }} + - uses: actions/setup-node@v1 with: node-version: 16