Debug cache extract

pull/310/head
Frostebite 2022-01-16 21:30:52 +00:00
parent cb73f02a05
commit b5ee9aca76
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -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}"`);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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}`);