mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-08 00:37:27 +00:00
Fix missing path separators
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
52578ee9f6
commit
c5d78e059f
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
|
@ -12,8 +12,8 @@ async function downloadRelease(octokit, os, org, repo, release, token) {
|
|||
|
||||
// Determine environment specific details, paths etc...
|
||||
const postfix = `_${os}_amd64.${os === "windows" ? "zip" : "tar.gz"}`;
|
||||
const tempdir = os === "windows" ? process.env.TEMP : "/tmp";
|
||||
const binpath = os === "windows" ? "C:\\Program Files\\GoTestTools\\" : "/usr/local/bin/";
|
||||
const tempdir = os === "windows" ? process.env.TEMP + "\\" : "/tmp/";
|
||||
const binpath = os === "windows" ? "C:\\Program Files\\GoTestTools" : "/usr/local/bin";
|
||||
const extract = os === "windows" ? "tar -xvf" : "tar -xvzf";
|
||||
const archive = `${tempdir}gotestfmt${postfix}`;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue