Caching cleanup

pull/310/head
Frostebite 2022-01-03 16:04:49 +00:00
parent 203e7209a1
commit 0f367cae92
3 changed files with 68 additions and 68 deletions

2
dist/index.js vendored
View File

@ -545,7 +545,7 @@ class Caching {
if (__1.Input.cloudRunnerTests) { if (__1.Input.cloudRunnerTests) {
yield Caching.printFullCacheHierarchySize(); yield Caching.printFullCacheHierarchySize();
} }
process.chdir(`${path_1.default.dirname(sourceFolder)}`); process.chdir(`${sourceFolder}/../`);
if (__1.Input.cloudRunnerTests) { if (__1.Input.cloudRunnerTests) {
cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)}`); cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)}`);
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@ export class Caching {
if (Input.cloudRunnerTests) { if (Input.cloudRunnerTests) {
await Caching.printFullCacheHierarchySize(); await Caching.printFullCacheHierarchySize();
} }
process.chdir(`${path.dirname(sourceFolder)}`); process.chdir(`${sourceFolder}/../`);
if (Input.cloudRunnerTests) { if (Input.cloudRunnerTests) {
CloudRunnerLogger.log(`Hashed cache folder ${await LFSHashing.hashAllFiles(sourceFolder)}`); CloudRunnerLogger.log(`Hashed cache folder ${await LFSHashing.hashAllFiles(sourceFolder)}`);