extract lib in caching flow
parent
22936b0af1
commit
57a2529026
|
@ -4385,6 +4385,7 @@ class Caching {
|
||||||
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}`);
|
||||||
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`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cacheArtifactName = cacheArtifactName.replace(' ', '');
|
cacheArtifactName = cacheArtifactName.replace(' ', '');
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -105,6 +105,8 @@ export class Caching {
|
||||||
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}`);
|
||||||
if (CloudRunner.buildParameters.cloudRunnerDebugSkipCache) {
|
if (CloudRunner.buildParameters.cloudRunnerDebugSkipCache) {
|
||||||
|
CloudRunnerLogger.log(`Skipping cache debugSkipCache is true`);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cacheArtifactName = cacheArtifactName.replace(' ', '');
|
cacheArtifactName = cacheArtifactName.replace(' ', '');
|
||||||
|
|
Loading…
Reference in New Issue