Moving the client build & package steps to Buildjet

This commit is contained in:
Arpit Mohan 2022-09-07 14:00:15 +05:30
parent e53045de5a
commit 577ac298da
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ jobs:
- run: echo "::set-output name=run_result::success" > ~/run_result
build:
runs-on: ubuntu-latest
runs-on: buildjet-8vcpu-ubuntu-2004
if: github.event_name == 'repository_dispatch' &&
github.event.client_payload.slash_command.sha != '' &&
contains(github.event.client_payload.pull_request.head.sha, github.event.client_payload.slash_command.sha)
@ -1286,7 +1286,7 @@ jobs:
package:
needs: [ui-test, fat-container-test]
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
defaults:
run:
working-directory: app/client

View File

@ -1481,7 +1481,7 @@ jobs:
package:
needs: ui-test
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
# Run this job irrespective of tests failing, if this is the release branch; or only if the tests pass, if this is the master branch.
if: (success() && github.ref == 'refs/heads/master') ||