From 3639525413ebfa98e8e774464e6669030ea11489 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Wed, 13 Apr 2022 21:42:09 +0100 Subject: [PATCH] Link bb and pro branch checkout --- .github/workflows/budibase_ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 86d673516d..69899387b3 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -22,11 +22,18 @@ jobs: steps: - uses: actions/checkout@v2 + + - name: Extract branch name + shell: bash + run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" + id: extract_branch + - name: Checkout uses: actions/checkout@v2 with: repository: budibase/budibase-pro - path: './pro' + ref: ${{ steps.extract_branch.outputs.branch }} + path: '../budibase-pro' token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Use Node.js ${{ matrix.node-version }}