From eb35889466fb5896dbb010d6ffde496a6a99ec97 Mon Sep 17 00:00:00 2001 From: Patrik Huber Date: Thu, 6 Apr 2023 18:10:20 +0100 Subject: [PATCH] Set VCPKG_ROOT in cmake.yml GitHub Actions workflow See here: https://github.com/actions/runner-images/issues/6376#issuecomment-1304667352. This alone might not be enough yet. --- .github/workflows/cmake.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 2e7dbc8f..55e56bb0 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -22,6 +22,11 @@ jobs: with: submodules: true + - name: "Set VCPKG_ROOT environmental variable" + shell: bash + run: | + echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV + - 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. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type