(file, dest)
| 4269 | }); |
| 4270 | } |
| 4271 | function extractZipNix(file, dest) { |
| 4272 | return __awaiter(this, void 0, void 0, function* () { |
| 4273 | const unzipPath = yield io.which('unzip', true); |
| 4274 | const args = [file]; |
| 4275 | if (!core.isDebug()) { |
| 4276 | args.unshift('-q'); |
| 4277 | } |
| 4278 | args.unshift('-o'); //overwrite with -o, otherwise a prompt is shown which freezes the run |
| 4279 | yield exec_1.exec(`"${unzipPath}"`, args, { cwd: dest }); |
| 4280 | }); |
| 4281 | } |
| 4282 | /** |
| 4283 | * Caches a directory and installs it into the tool cacheDir |
| 4284 | * |
no test coverage detected
searching dependent graphs…