From ba512b41590a75516dd2b9b7b1f39e34547dda6e Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 23 Dec 2021 13:39:00 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58914a12..085dc150 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,7 +82,6 @@ jobs: platform: "armv7l" gamos: linux - steps: - uses: actions/checkout@master @@ -184,7 +183,7 @@ jobs: if: matrix.goal != 'test' && matrix.os == 'windows-2022' shell: powershell run: | - cmd /c 'call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && set MAKE=nmake && set > %temp%\vcvars.txt' + & cmd /c 'call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && set MAKE=nmake && set > %temp%\vcvars.txt' Get-Content "$env:temp\vcvars.txt" | Foreach-Object { if ($_ -match "^(.*?)=(.*)$") { Set-Content "env:\$($matches[1])" $matches[2]