github: cmake suddenly defaults to ninja, explicitly define VS as generator
[awesomized/libmemcached] / .github / workflows / cmake-build-ci.gen
index e76d433fcef54ab26742c87ebcc51574cdf32d52..50e1e50552fb873f9fe1ba404891bf68786fd228 100755 (executable)
@@ -111,6 +111,7 @@ function steps_setenv($os_vnd, $splat_map = null) {
         run: |
           echo "c:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
           echo "c:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+          echo 'CMAKE_GENERATOR=Visual Studio 16 2019' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
       - name: Prepare environment (MinGW)
         if: env.CC_VND == 'mingw'
         run: |