We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This documentation: https://github.com/actions/runner-images/blob/win22/20231023.1/images/win/Windows2022-Readme.md#environment-variables
promises an environment variable VCPKG_INSTALLATION_ROOT. However, when I try to use this in a build step like so:
VCPKG_INSTALLATION_ROOT
- name: Configure CMake if: runner.os == 'Windows' run: cmake -S . -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} --toolchain="${{env.VCPKG_INSTALLATION_ROOT}}/scripts/buildsystems/vcpkg.cmake"
The variable seems to be not there. I tried a few variations:
${{env.VCPKG_INSTALLATION_ROOT}}
$VCPKG_INSTALLATION_ROOT
Originally posted by @mcourteaux in #6376 (comment)
The text was updated successfully, but these errors were encountered:
I noticed the issue with an Ubuntu 22.04 runner, I double checked with a windows-2019 runner and there it seems to be correctly added to the env
Sorry, something went wrong.
Hi @giallu , Thanks for bringing to us , we will look into this and update. Thank you !
vidyasagarnimmagaddi
No branches or pull requests
This documentation:
https://github.com/actions/runner-images/blob/win22/20231023.1/images/win/Windows2022-Readme.md#environment-variables
promises an environment variable
VCPKG_INSTALLATION_ROOT
. However, when I try to use this in a build step like so:The variable seems to be not there. I tried a few variations:
${{env.VCPKG_INSTALLATION_ROOT}}
$VCPKG_INSTALLATION_ROOT
Originally posted by @mcourteaux in #6376 (comment)
The text was updated successfully, but these errors were encountered: