mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-09 09:17:29 +00:00
Correct all references to hardcoded filename
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
2725d26cb6
commit
05082d6398
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
|
@ -29,10 +29,10 @@ async function downloadRelease(octokit, os, org, repo, release, token) {
|
|||
execSync("sudo mkdir -p /usr/local/lib/gotestfmt")
|
||||
|
||||
console.log("Unpacking tar file...")
|
||||
execSync("cd /usr/local/lib/gotestfmt && sudo tar -xvzf /tmp/gotestfmt.tar.gz")
|
||||
execSync(`cd /usr/local/lib/gotestfmt && sudo tar -xvzf ${tempdir}/gotestfmt${postfix}`)
|
||||
|
||||
console.log("Removing tarball...")
|
||||
fs.unlinkSync("/tmp/gotestfmt.tar.gz")
|
||||
fs.unlinkSync(`${tempdir}/gotestfmt${postfix}`)
|
||||
|
||||
console.log("Creating /usr/local/bin directory if it does not exist already...")
|
||||
execSync("sudo mkdir -p /usr/local/bin")
|
||||
|
|
|
|||
Loading…
Reference in a new issue