Debug cache extract
parent
cb73f02a05
commit
b5ee9aca76
|
|
@ -632,7 +632,7 @@ class Caching {
|
|||
if (__1.Input.cloudRunnerTests) {
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${cacheFolder}`);
|
||||
}
|
||||
fs_1.default.createReadStream(`${path_1.default.join(fullDestination, cacheSelection)}.zip`).pipe(unzipper_1.default.Extract({ path: resultsDirectory }));
|
||||
fs_1.default.createReadStream(`${path_1.default.join(resultsDirectory, cacheSelection)}.zip`).pipe(unzipper_1.default.Extract({ path: resultsDirectory }));
|
||||
remote_client_logger_1.RemoteClientLogger.log(`cache item extracted to ${fullDestination}`);
|
||||
console_1.assert(`${fs_1.default.existsSync(fullDestination)}`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv -v "${fullDestination}/*" "${destinationFolder}"`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -105,7 +105,7 @@ export class Caching {
|
|||
if (Input.cloudRunnerTests) {
|
||||
await CloudRunnerSystem.Run(`tree ${cacheFolder}`);
|
||||
}
|
||||
fs.createReadStream(`${path.join(fullDestination, cacheSelection)}.zip`).pipe(
|
||||
fs.createReadStream(`${path.join(resultsDirectory, cacheSelection)}.zip`).pipe(
|
||||
unzipper.Extract({ path: resultsDirectory }),
|
||||
);
|
||||
RemoteClientLogger.log(`cache item extracted to ${fullDestination}`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue