Skip to content

Commit

Permalink
Set VCPKG_ROOT in cmake.yml GitHub Actions workflow
Browse files Browse the repository at this point in the history
See here: actions/runner-images#6376 (comment).
This alone might not be enough yet.
  • Loading branch information
patrikhuber authored Apr 6, 2023
1 parent eafadd7 commit eb35889
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb35889

Please sign in to comment.