extract lib in caching flow
parent
a6dbd44f4f
commit
5c076ee62c
|
@ -4385,7 +4385,7 @@ class Caching {
|
||||||
}
|
}
|
||||||
static PullFromCache(cacheFolder, destinationFolder, cacheArtifactName = ``) {
|
static PullFromCache(cacheFolder, destinationFolder, cacheArtifactName = ``) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
cloud_runner_logger_1.default.log(`Pulling from cache ${destinationFolder}`);
|
cloud_runner_logger_1.default.log(`Pulling from cache ${destinationFolder} ${cloud_runner_1.default.buildParameters.cloudRunnerDebugSkipCache}`);
|
||||||
if (cloud_runner_1.default.buildParameters.cloudRunnerDebugSkipCache) {
|
if (cloud_runner_1.default.buildParameters.cloudRunnerDebugSkipCache) {
|
||||||
cloud_runner_logger_1.default.log(`Skipping cache debugSkipCache is true`);
|
cloud_runner_logger_1.default.log(`Skipping cache debugSkipCache is true`);
|
||||||
return;
|
return;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -103,7 +103,9 @@ export class Caching {
|
||||||
process.chdir(`${startPath}`);
|
process.chdir(`${startPath}`);
|
||||||
}
|
}
|
||||||
public static async PullFromCache(cacheFolder: string, destinationFolder: string, cacheArtifactName: string = ``) {
|
public static async PullFromCache(cacheFolder: string, destinationFolder: string, cacheArtifactName: string = ``) {
|
||||||
CloudRunnerLogger.log(`Pulling from cache ${destinationFolder}`);
|
CloudRunnerLogger.log(
|
||||||
|
`Pulling from cache ${destinationFolder} ${CloudRunner.buildParameters.cloudRunnerDebugSkipCache}`,
|
||||||
|
);
|
||||||
if (CloudRunner.buildParameters.cloudRunnerDebugSkipCache) {
|
if (CloudRunner.buildParameters.cloudRunnerDebugSkipCache) {
|
||||||
CloudRunnerLogger.log(`Skipping cache debugSkipCache is true`);
|
CloudRunnerLogger.log(`Skipping cache debugSkipCache is true`);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue