correcting bug with async env

pull/496/head
Frostebite 2023-01-22 03:28:56 +00:00
parent 9ba23392bd
commit a348105747
4 changed files with 9 additions and 3 deletions

5
dist/index.js generated vendored
View File

@ -308,7 +308,7 @@ class BuildParameters {
garbageCollectionMaxAge: cloud_runner_options_1.default.garbageCollectionMaxAge,
githubChecks: cloud_runner_options_1.default.githubChecks,
asyncWorkflow: cloud_runner_options_1.default.asyncCloudRunner,
githubCheckId: ``,
githubCheckId: cloud_runner_options_1.default.githubCheckId,
};
});
}
@ -743,6 +743,9 @@ class CloudRunnerOptions {
static get githubChecks() {
return CloudRunnerOptions.getInput('githubChecks') || false;
}
static get githubCheckId() {
return CloudRunnerOptions.getInput('githubCheckId') || ``;
}
static get githubOwner() {
return CloudRunnerOptions.getInput('githubOwner') || CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -158,7 +158,7 @@ class BuildParameters {
garbageCollectionMaxAge: CloudRunnerOptions.garbageCollectionMaxAge,
githubChecks: CloudRunnerOptions.githubChecks,
asyncWorkflow: CloudRunnerOptions.asyncCloudRunner,
githubCheckId: ``,
githubCheckId: CloudRunnerOptions.githubCheckId,
};
}

View File

@ -62,6 +62,9 @@ class CloudRunnerOptions {
static get githubChecks(): boolean {
return CloudRunnerOptions.getInput('githubChecks') || false;
}
static get githubCheckId(): string {
return CloudRunnerOptions.getInput('githubCheckId') || ``;
}
static get githubOwner() {
return CloudRunnerOptions.getInput('githubOwner') || CloudRunnerOptions.githubRepo.split(`/`)[0] || false;