diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1e6678b0708..dcd4e95fc703 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -456,7 +456,7 @@ jobs: - name: Build shell: cmd run: | - call "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 || goto :error + call "%ProgramFiles%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 || goto :error set CC=cl.exe set CXX=cl.exe diff --git a/.github/workflows/configure.cmd b/.github/workflows/configure.cmd index af3b673af4ff..5a7fc7bb332b 100644 --- a/.github/workflows/configure.cmd +++ b/.github/workflows/configure.cmd @@ -1,4 +1,4 @@ -call "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 || goto :error +call "%ProgramFiles%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 || goto :error set CC=cl.exe set CXX=cl.exe