I have no problems in using this action after CMake configuration for most cases, but it fails when I'm trying to use a project that makes use of the VCPKG toolchain file.
cmake -B out -DBUILD_TEST_TEMPLATE=ON -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -DVCPKG_MANIFEST_MODE=ON -DVCPKG_MANIFEST_DIR=D:\a\directx-vs-templates\directx-vs-templates\TestProject -DCMAKE_TOOLCHAIN_FILE="C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/vcpkg/scripts/buildsystems/vcpkg.cmake"
This results in the action outputting:
Running CMake to generate reply data.
"C:\Program Files\CMake\bin\cmake.exe" D:\a\directx-vs-templates\directx-vs-templates\TestProject\out
CMake Warning:
Ignoring extra path from command line:
"D:\a\directx-vs-templates\directx-vs-templates\TestProject\out"
CMake Error: The source directory "D:/a/directx-vs-templates/directx-vs-templates/TestProject/out" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
I have no problems in using this action after CMake configuration for most cases, but it fails when I'm trying to use a project that makes use of the VCPKG toolchain file.
This results in the action outputting: