mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
Update build.yml
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -188,6 +188,9 @@ jobs:
|
|||||||
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 {
|
Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
|
||||||
if ($_ -match "^(.*?)=(.*)$") {
|
if ($_ -match "^(.*?)=(.*)$") {
|
||||||
|
if ($matches[1] -eq "PATH" -or $matches[1] -eq "PLATFORM") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
Set-Content "env:\$($matches[1])" $matches[2]
|
Set-Content "env:\$($matches[1])" $matches[2]
|
||||||
Add-Content -Path $env:GITHUB_ENV -Value "$($matches[1])=$($matches[2])"
|
Add-Content -Path $env:GITHUB_ENV -Value "$($matches[1])=$($matches[2])"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user