correcting bug with async env

pull/496/head
Frostebite 2023-01-22 03:12:48 +00:00
parent 338f477d53
commit 011c5ca1b3
4 changed files with 7 additions and 2 deletions

View File

@ -51,7 +51,7 @@ jobs:
CLOUD_RUNNER_CLUSTER: local-docker
AWS_BASE_STACK_NAME: game-ci-github-pipelines
CHECKS_UPDATE: ${{ github.event.inputs.checksObject }}
run: |
run: |
git clone -b cloud-runner-develop https://github.com/game-ci/unity-builder
cd unity-builder
yarn

2
dist/index.js generated vendored
View File

@ -587,6 +587,8 @@ class Cli {
}
static checksUpdate() {
return __awaiter(this, void 0, void 0, function* () {
const buildParameter = yield __1.BuildParameters.create();
yield __1.CloudRunner.setup(buildParameter);
const input = JSON.parse(process.env.CHECKS_UPDATE || ``);
core.info(`Checks Update ${process.env.CHECKS_UPDATE}`);
if (input.mode === `create`) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -119,6 +119,9 @@ export class Cli {
@CliFunction(`checks-update`, `runs a cloud runner build`)
public static async checksUpdate() {
const buildParameter = await BuildParameters.create();
await CloudRunner.setup(buildParameter);
const input = JSON.parse(process.env.CHECKS_UPDATE || ``);
core.info(`Checks Update ${process.env.CHECKS_UPDATE}`);
if (input.mode === `create`) {