From 3416e872f904c9d1b74cc993a07ea5d79697c72b Mon Sep 17 00:00:00 2001 From: Andri Oskarsson Date: Mon, 26 Apr 2021 13:09:06 +0200 Subject: [PATCH] fix --- dist/index.js | 2 +- index.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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, -- 2.51.2