replace LargeContent not LargePackages

pull/473/head
Frostebite 2022-11-11 16:51:50 +00:00
parent 20a2ab249c
commit 371170540e
3 changed files with 9 additions and 12 deletions

9
dist/index.js vendored
View File

@ -840,17 +840,16 @@ class CloudRunnerOptions {
return CloudRunnerOptions.getInput(`cloudRunnerDebugEnv`) || false; return CloudRunnerOptions.getInput(`cloudRunnerDebugEnv`) || false;
} }
static get watchCloudRunnerToEnd() { static get watchCloudRunnerToEnd() {
const input = CloudRunnerOptions.getInput(`watchToEnd`); return (CloudRunnerOptions.getInput(`watchToEnd`) || true) !== 'false';
return input !== 'false';
} }
static get useSharedLargePackages() { static get useSharedLargePackages() {
return CloudRunnerOptions.getInput(`useSharedLargePackages`) || false; return (CloudRunnerOptions.getInput(`useSharedLargePackages`) || false) !== 'false';
} }
static get useSharedBuilder() { static get useSharedBuilder() {
return CloudRunnerOptions.getInput(`useSharedBuilder`) || true; return (CloudRunnerOptions.getInput(`useSharedBuilder`) || true) !== 'false';
} }
static get useLz4Compression() { static get useLz4Compression() {
return CloudRunnerOptions.getInput(`useLz4Compression`) || true; return (CloudRunnerOptions.getInput(`useLz4Compression`) || true) !== false;
} }
// ### ### ### // ### ### ###
// Retained Workspace // Retained Workspace

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -220,21 +220,19 @@ class CloudRunnerOptions {
} }
static get watchCloudRunnerToEnd(): boolean { static get watchCloudRunnerToEnd(): boolean {
const input = CloudRunnerOptions.getInput(`watchToEnd`); return (CloudRunnerOptions.getInput(`watchToEnd`) || true) !== 'false';
return input !== 'false';
} }
public static get useSharedLargePackages(): boolean { public static get useSharedLargePackages(): boolean {
return CloudRunnerOptions.getInput(`useSharedLargePackages`) || false; return (CloudRunnerOptions.getInput(`useSharedLargePackages`) || false) !== 'false';
} }
public static get useSharedBuilder(): boolean { public static get useSharedBuilder(): boolean {
return CloudRunnerOptions.getInput(`useSharedBuilder`) || true; return (CloudRunnerOptions.getInput(`useSharedBuilder`) || true) !== 'false';
} }
public static get useLz4Compression(): boolean { public static get useLz4Compression(): boolean {
return CloudRunnerOptions.getInput(`useLz4Compression`) || true; return (CloudRunnerOptions.getInput(`useLz4Compression`) || true) !== false;
} }
// ### ### ### // ### ### ###