From a4eae9a2c04d5c6a3c268ac51506afb496b27967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=81rti=C5=86=C5=A1=20Mo=C5=BEeiko?= Date: Sat, 3 Aug 2024 17:57:52 -0700 Subject: [PATCH] use vs2022 --- .github/workflows/build-angle.yml | 4 ++-- build.cmd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-angle.yml b/.github/workflows/build-angle.yml index 5584247..efab87d 100644 --- a/.github/workflows/build-angle.yml +++ b/.github/workflows/build-angle.yml @@ -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 diff --git a/build.cmd b/build.cmd index 7749227..2510139 100644 --- a/build.cmd +++ b/build.cmd @@ -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 )