pull/524/head
Frostebite 2023-03-11 16:29:28 +00:00
parent efc1b8fb62
commit bfe6559ffa
3 changed files with 6 additions and 3 deletions

3
dist/index.js generated vendored
View File

@ -725,7 +725,8 @@ class CloudRunnerOptions {
// GitHub parameters // GitHub parameters
// ### ### ### // ### ### ###
static get githubChecks() { static get githubChecks() {
return CloudRunnerOptions.getInput('githubChecks') || false; const value = CloudRunnerOptions.getInput('githubChecks');
return (value !== undefined && value !== 'false') || false;
} }
static get githubCheckId() { static get githubCheckId() {
return CloudRunnerOptions.getInput('githubCheckId') || ``; return CloudRunnerOptions.getInput('githubCheckId') || ``;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -64,7 +64,9 @@ class CloudRunnerOptions {
// GitHub parameters // GitHub parameters
// ### ### ### // ### ### ###
static get githubChecks(): boolean { static get githubChecks(): boolean {
return CloudRunnerOptions.getInput('githubChecks') || false; const value = CloudRunnerOptions.getInput('githubChecks');
return (value !== undefined && value !== 'false') || false;
} }
static get githubCheckId(): string { static get githubCheckId(): string {
return CloudRunnerOptions.getInput('githubCheckId') || ``; return CloudRunnerOptions.getInput('githubCheckId') || ``;