Run file command

This commit is contained in:
Henry Mercer
2024-11-11 16:15:30 +00:00
parent ba76ee3536
commit 4d64f597f2
3 changed files with 9 additions and 2 deletions
Generated
+3
View File
@@ -139,6 +139,9 @@ async function extractTarZst(tar, tarVersion, logger) {
logger.debug(`Extracting to ${dest}.${tar instanceof stream.Readable
? ` Input stream has high water mark ${tar.readableHighWaterMark}.`
: ""}`);
if (typeof tar === "string") {
await (0, actions_util_1.runTool)("file", [tar]);
}
try {
// Initialize args
const args = ["-x", "--zstd", "-v"];
+1 -1
View File
File diff suppressed because one or more lines are too long