extract lib in caching flow
parent
465973ecbf
commit
a6dbd44f4f
|
@ -885,19 +885,21 @@ class CloudRunnerOptions {
|
||||||
// Utility Parameters
|
// Utility Parameters
|
||||||
// ### ### ###
|
// ### ### ###
|
||||||
static get cloudRunnerDebug() {
|
static get cloudRunnerDebug() {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerTests`) || CloudRunnerOptions.getInput(`cloudRunnerDebug`) || false;
|
return (CloudRunnerOptions.getInput(`cloudRunnerTests`) === `true` ||
|
||||||
|
CloudRunnerOptions.getInput(`cloudRunnerDebug`) === `true` ||
|
||||||
|
false);
|
||||||
}
|
}
|
||||||
static get cloudRunnerDebugTree() {
|
static get cloudRunnerDebugTree() {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerDebugTree`) || false;
|
return CloudRunnerOptions.getInput(`cloudRunnerDebugTree`) === `true` || false;
|
||||||
}
|
}
|
||||||
static get cloudRunnerDebugEnv() {
|
static get cloudRunnerDebugEnv() {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerDebugEnv`) || false;
|
return CloudRunnerOptions.getInput(`cloudRunnerDebugEnv`) === `true` || false;
|
||||||
}
|
}
|
||||||
static get cloudRunnerDebugSkipLFS() {
|
static get cloudRunnerDebugSkipLFS() {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerDebugSkipLFS`) || false;
|
return CloudRunnerOptions.getInput(`cloudRunnerDebugSkipLFS`) === `true` || false;
|
||||||
}
|
}
|
||||||
static get cloudRunnerDebugSkipCache() {
|
static get cloudRunnerDebugSkipCache() {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerDebugSkipCache`) || false;
|
return CloudRunnerOptions.getInput(`cloudRunnerDebugSkipCache`) === `true` || false;
|
||||||
}
|
}
|
||||||
static get watchCloudRunnerToEnd() {
|
static get watchCloudRunnerToEnd() {
|
||||||
if (CloudRunnerOptions.asyncCloudRunner) {
|
if (CloudRunnerOptions.asyncCloudRunner) {
|
||||||
|
@ -4441,7 +4443,6 @@ class Caching {
|
||||||
process.chdir(startPath);
|
process.chdir(startPath);
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${destinationFolder}`);
|
|
||||||
process.chdir(startPath);
|
process.chdir(startPath);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -232,19 +232,23 @@ class CloudRunnerOptions {
|
||||||
// ### ### ###
|
// ### ### ###
|
||||||
|
|
||||||
static get cloudRunnerDebug(): boolean {
|
static get cloudRunnerDebug(): boolean {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerTests`) || CloudRunnerOptions.getInput(`cloudRunnerDebug`) || false;
|
return (
|
||||||
|
CloudRunnerOptions.getInput(`cloudRunnerTests`) === `true` ||
|
||||||
|
CloudRunnerOptions.getInput(`cloudRunnerDebug`) === `true` ||
|
||||||
|
false
|
||||||
|
);
|
||||||
}
|
}
|
||||||
static get cloudRunnerDebugTree(): boolean {
|
static get cloudRunnerDebugTree(): boolean {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerDebugTree`) || false;
|
return CloudRunnerOptions.getInput(`cloudRunnerDebugTree`) === `true` || false;
|
||||||
}
|
}
|
||||||
static get cloudRunnerDebugEnv(): boolean {
|
static get cloudRunnerDebugEnv(): boolean {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerDebugEnv`) || false;
|
return CloudRunnerOptions.getInput(`cloudRunnerDebugEnv`) === `true` || false;
|
||||||
}
|
}
|
||||||
static get cloudRunnerDebugSkipLFS(): boolean {
|
static get cloudRunnerDebugSkipLFS(): boolean {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerDebugSkipLFS`) || false;
|
return CloudRunnerOptions.getInput(`cloudRunnerDebugSkipLFS`) === `true` || false;
|
||||||
}
|
}
|
||||||
static get cloudRunnerDebugSkipCache(): boolean {
|
static get cloudRunnerDebugSkipCache(): boolean {
|
||||||
return CloudRunnerOptions.getInput(`cloudRunnerDebugSkipCache`) || false;
|
return CloudRunnerOptions.getInput(`cloudRunnerDebugSkipCache`) === `true` || false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static get watchCloudRunnerToEnd(): boolean {
|
static get watchCloudRunnerToEnd(): boolean {
|
||||||
|
|
|
@ -178,7 +178,6 @@ export class Caching {
|
||||||
process.chdir(startPath);
|
process.chdir(startPath);
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
await CloudRunnerSystem.Run(`tree ${destinationFolder}`);
|
|
||||||
process.chdir(startPath);
|
process.chdir(startPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue