Fix os check

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

View file

@ -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`);
}