diff --git a/dist/index.js b/dist/index.js index 292fecf..1411bae 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3915,7 +3915,7 @@ async function main() { return context[match] || ""; }); const downloadPath = await import_tool_cache.default.downloadTool(rendered); - const extractedPath = import_path.default.join(await (0, import_tool_cache.extractTar)(downloadPath), "FILENAME"); + const extractedPath = await (0, import_tool_cache.extractTar)(downloadPath); toolPath = await import_tool_cache.default.cacheFile(extractedPath, FILENAME, FILENAME, version); } (0, import_core.info)("toolpath:" + toolPath); diff --git a/index.ts b/index.ts index 31d1bd0..45fd8b0 100644 --- a/index.ts +++ b/index.ts @@ -31,10 +31,7 @@ async function main() { }); const downloadPath = await cache.downloadTool(rendered); - const extractedPath = path.join( - await extractTar(downloadPath), - "FILENAME" - ); + const extractedPath = await extractTar(downloadPath); toolPath = await cache.cacheFile( extractedPath, FILENAME,