Fix nested Library cache
parent
3077fcd287
commit
36347f2129
|
|
@ -591,7 +591,7 @@ class Caching {
|
|||
console_1.assert(`${fs_1.default.existsSync(destinationFolder)}`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`unzip -q ${cacheSelection}.zip -d ${path_1.default.basename(destinationFolder)}`);
|
||||
process.chdir(path_1.default.basename(destinationFolder));
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv ./* ${destinationFolder}`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv * ${destinationFolder}`);
|
||||
}
|
||||
else {
|
||||
remote_client_logger_1.RemoteClientLogger.logWarning(`cache item ${cacheKey} doesn't exist ${destinationFolder}`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -82,7 +82,7 @@ export class Caching {
|
|||
assert(`${fs.existsSync(destinationFolder)}`);
|
||||
await CloudRunnerSystem.Run(`unzip -q ${cacheSelection}.zip -d ${path.basename(destinationFolder)}`);
|
||||
process.chdir(path.basename(destinationFolder));
|
||||
await CloudRunnerSystem.Run(`mv ./* ${destinationFolder}`);
|
||||
await CloudRunnerSystem.Run(`mv * ${destinationFolder}`);
|
||||
} else {
|
||||
RemoteClientLogger.logWarning(`cache item ${cacheKey} doesn't exist ${destinationFolder}`);
|
||||
if (cacheSelection !== ``) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue