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]