From fa912ec80c8fbe9ca4e854ec62ae2f6c0a669507 Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Mon, 30 Oct 2023 12:22:54 -0700 Subject: [PATCH] Update cmake.yml: Set up Visual Studio environment v2 --- .github/workflows/cmake.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index dbfdfa612cd..f62bd984ee0 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -78,11 +78,9 @@ jobs: - name: Set up Ninja uses: seanmiddleditch/gha-setup-ninja@master - - name: Set up Visual Studio x64 environment + - name: Set up Visual Studio environment if: matrix.os == 'windows-latest' - shell: cmd - run: | - call "C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvarsall.bat" x64 + uses: seanmiddleditch/gha-setup-vsdevenv@master - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.