Debug cache extract

pull/310/head
Frostebite 2022-01-16 15:33:29 +00:00
parent 7571aa56ac
commit a7ce7acbc2
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) { if (__1.Input.cloudRunnerTests) {
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${cacheFolder}`); yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${cacheFolder}`);
} }
fs_1.default.createReadStream(`${path_1.default.join(cacheFolder, cacheSelection)}.zip`).pipe(unzipper_1.default.Extract({ path: resultsDirectory })); fs_1.default.createReadStream(`${path_1.default.join(fullDestination, cacheSelection)}.zip`).pipe(unzipper_1.default.Extract({ path: resultsDirectory }));
if (__1.Input.cloudRunnerTests) { if (__1.Input.cloudRunnerTests) {
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${fullDestination}`); yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${fullDestination}`);
} }

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) { if (Input.cloudRunnerTests) {
await CloudRunnerSystem.Run(`tree ${cacheFolder}`); await CloudRunnerSystem.Run(`tree ${cacheFolder}`);
} }
fs.createReadStream(`${path.join(cacheFolder, cacheSelection)}.zip`).pipe( fs.createReadStream(`${path.join(fullDestination, cacheSelection)}.zip`).pipe(
unzipper.Extract({ path: resultsDirectory }), unzipper.Extract({ path: resultsDirectory }),
); );
if (Input.cloudRunnerTests) { if (Input.cloudRunnerTests) {