Link bb and pro branch checkout

This commit is contained in:
Rory Powell 2022-04-13 21:42:09 +01:00
parent 5cfb07916d
commit 05cabcf533
1 changed files with 8 additions and 1 deletions

View File

@ -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 }}