Move extracted binary manually

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
Yuri Norwood 2022-11-07 14:01:02 +13:00 committed by GitHub
parent ae6e2160d9
commit 074752d070
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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...")