extract lib in caching flow

pull/496/head
Frostebite 2023-02-13 16:26:41 +00:00
parent a6dbd44f4f
commit 5c076ee62c
3 changed files with 5 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -4385,7 +4385,7 @@ class Caching {
}
static PullFromCache(cacheFolder, destinationFolder, cacheArtifactName = ``) {
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) {
cloud_runner_logger_1.default.log(`Skipping cache debugSkipCache is true`);
return;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -103,7 +103,9 @@ export class Caching {
process.chdir(`${startPath}`);
}
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) {
CloudRunnerLogger.log(`Skipping cache debugSkipCache is true`);