From 074752d0705e3492d28d53ecae298d9f81a6638c Mon Sep 17 00:00:00 2001 From: Yuri Norwood <106889957+norwd@users.noreply.github.com> Date: Mon, 7 Nov 2022 14:01:02 +1300 Subject: [PATCH] Move extracted binary manually Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a57311f..c0faa3c 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,8 @@ async function downloadRelease(octokit, os, org, repo, release, token) { // Extract the archive into the install target console.log("Unpacking archive file...") - execSync(`${extract} -C "${binpath}" "${archive}"`) + execSync(`${extract} "${archive}"`) + fs.rename("gotestfmt", `${binpath}/gotestfmt`) // Remove the downloaded asset archive console.log("Removing asset archive...")