[all OSs] The VCPKG_ROOT variable will be removed from runner images #6376
Description
Breaking changes
The VCPKG_ROOT variable will be removed from runner images.
Target date
October, 31. The propagation will take 2-3 days.
The motivation for the changes
In accordance with the reaction of the VCPKG developers and community to the recent changes regarding the setting of the VCPKG_ROOT variable, it was decided to abandon such breaking changes so that users can independently control the contents of this environment variable.
The history of changes and reasons for cancellation can be found here: #6146, #6192, #6195, #6196.
Possible impact
Users who have already started using the VCPKG_ROOT variable in accordance with the latest changes may encounter some difficulties.
Platforms affected
- Azure DevOps
- GitHub Actions
Runner images affected
- Ubuntu 18.04
- Ubuntu 20.04
- Ubuntu 22.04
- macOS 10.15
- macOS 11
- macOS 12
- Windows Server 2019
- Windows Server 2022
Mitigation ways
Users who have already started using the VCPKG_ROOT variable in accordance with the latest changes should revert to using the VCPKG_INSTALLATION_ROOT variable to avoid errors.