mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-20 22:51:45 +00:00
Move extracted binary manually
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
ae6e2160d9
commit
074752d070
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
|
@ -39,7 +39,8 @@ async function downloadRelease(octokit, os, org, repo, release, token) {
|
||||||
|
|
||||||
// Extract the archive into the install target
|
// Extract the archive into the install target
|
||||||
console.log("Unpacking archive file...")
|
console.log("Unpacking archive file...")
|
||||||
execSync(`${extract} -C "${binpath}" "${archive}"`)
|
execSync(`${extract} "${archive}"`)
|
||||||
|
fs.rename("gotestfmt", `${binpath}/gotestfmt`)
|
||||||
|
|
||||||
// Remove the downloaded asset archive
|
// Remove the downloaded asset archive
|
||||||
console.log("Removing asset archive...")
|
console.log("Removing asset archive...")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue