fixing cache folder

pull/310/head
Frostebite 2022-01-06 22:07:01 +00:00
parent b5277d47f0
commit f1096ef457
3 changed files with 7 additions and 5 deletions

4
dist/index.js vendored
View File

@ -546,9 +546,9 @@ class Caching {
yield Caching.printFullCacheHierarchySize();
}
process.chdir(path_1.default.join(sourceFolder));
process.chdir(`..`);
process.chdir(`./../`);
if (__1.Input.cloudRunnerTests) {
cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)} ${sourceFolder}`);
cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)} ${sourceFolder} ${process.cwd()}`);
}
if (__1.Input.cloudRunnerTests) {
yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls`);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

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