Caching cleanup
parent
c0e1470f9f
commit
8a726cf0bc
|
|
@ -545,7 +545,7 @@ class Caching {
|
|||
if (__1.Input.cloudRunnerTests) {
|
||||
cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)}`);
|
||||
}
|
||||
yield cloud_runner_agent_system_1.CloudRunnerAgentSystem.Run(`zip -q -r ${cacheKey} ${path_1.default.basename(sourceFolder)}`);
|
||||
yield cloud_runner_agent_system_1.CloudRunnerAgentSystem.Run(`zip -q -r ${cacheKey}.zip ${path_1.default.basename(sourceFolder)}`);
|
||||
console_1.assert(fs_1.default.existsSync(`${cacheKey}`));
|
||||
console_1.assert(fs_1.default.existsSync(`${cacheFolder}`));
|
||||
console_1.assert(fs_1.default.existsSync(`${sourceFolder}`));
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -20,7 +20,7 @@ export class Caching {
|
|||
CloudRunnerLogger.log(`Hashed cache folder ${await LFSHashing.hashAllFiles(sourceFolder)}`);
|
||||
}
|
||||
|
||||
await CloudRunnerAgentSystem.Run(`zip -q -r ${cacheKey} ${path.basename(sourceFolder)}`);
|
||||
await CloudRunnerAgentSystem.Run(`zip -q -r ${cacheKey}.zip ${path.basename(sourceFolder)}`);
|
||||
assert(fs.existsSync(`${cacheKey}`));
|
||||
assert(fs.existsSync(`${cacheFolder}`));
|
||||
assert(fs.existsSync(`${sourceFolder}`));
|
||||
|
|
|
|||
Loading…
Reference in New Issue