From 5b1db40dacb5ac620440d83f0d08055d9aa86cba Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Wed, 20 Apr 2022 17:12:40 +0100 Subject: [PATCH] Update branch processing --- .github/workflows/release-develop.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-develop.yml b/.github/workflows/release-develop.yml index 7a1b115d00..838867b22d 100644 --- a/.github/workflows/release-develop.yml +++ b/.github/workflows/release-develop.yml @@ -26,6 +26,11 @@ jobs: runs-on: ubuntu-latest steps: + - name: Extract branch name + shell: bash + run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF_NAME})" + id: extract_branch + - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: @@ -36,7 +41,7 @@ jobs: uses: actions/checkout@v2 with: repository: budibase/budibase-pro - ref: "$GITHUB_REF_NAME" + ref: ${{ steps.extract_branch.outputs.branch }} path: './pro' token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Setup pro