Updating self host release to fix issues with CLI build.
This commit is contained in:
parent
d976bbbdeb
commit
27d81a7f51
|
@ -3,6 +3,10 @@ name: Budibase Release Selfhost
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
BRANCH: ${{ github.event.pull_request.head.ref }}
|
||||||
|
BASE_BRANCH: ${{ github.event.pull_request.base.ref}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -41,12 +45,14 @@ jobs:
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
|
||||||
SELFHOST_TAG: latest
|
SELFHOST_TAG: latest
|
||||||
|
|
||||||
- name: Build CLI executables
|
- name: Install Pro
|
||||||
|
run: yarn install:pro $BRANCH $BASE_BRANCH
|
||||||
|
|
||||||
|
- name: Bootstrap and build (CLI)
|
||||||
run: |
|
run: |
|
||||||
pushd packages/cli
|
|
||||||
yarn
|
yarn
|
||||||
|
yarn bootstrap
|
||||||
yarn build
|
yarn build
|
||||||
popd
|
|
||||||
|
|
||||||
- name: Build OpenAPI spec
|
- name: Build OpenAPI spec
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue