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.