mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-08 00:37:27 +00:00
Fix os check
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
7b07e9efdf
commit
ea9ac7fd9e
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -17,7 +17,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) {
|
|||
const extract = os === "windows" ? "tar -xvf" : "tar -xvzf";
|
||||
const archive = `${tempdir}${pathsep}gotestfmt${postfix}`;
|
||||
|
||||
if (os === windows) {
|
||||
if (os === "windows") {
|
||||
execSync(`"${binpath}" >> $env:GITHUB_PATH`);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue