Skip to content

Commit

Permalink
use vs2022
Browse files Browse the repository at this point in the history
  • Loading branch information
mmozeiko committed Aug 4, 2024
1 parent 8eb43f4 commit a4eae9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-angle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:

jobs:
build:
runs-on: windows-2019
runs-on: windows-2022
steps:

- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: build
id: build
Expand Down
4 changes: 2 additions & 2 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ if exist "%ProgramFiles%\7-Zip\7z.exe" (
set SZIP=7za.exe
)

for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -version [16.0^,17.0^) -requires Microsoft.VisualStudio.Workload.NativeDesktop -property installationPath`) do set VS=%%i
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -version [17.0^,^) -requires Microsoft.VisualStudio.Workload.NativeDesktop -property installationPath`) do set VS=%%i
if "!VS!" equ "" (
echo ERROR: Visual Studio 2019 installation not found
echo ERROR: Visual Studio 2022 installation not found
exit /b 1
)

Expand Down

0 comments on commit a4eae9a

Please sign in to comment.