From 8ac216a0694851c3b1bbec3b1b4699e7f312d222 Mon Sep 17 00:00:00 2001 From: Tom Willow Date: Sun, 8 Dec 2024 16:08:54 +0800 Subject: [PATCH] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index c71993c..45d8089 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -26,15 +26,17 @@ jobs: uses: lukka/run-vcpkg@v11 # Always specify the specific _version_ of the # action you need, `v11` in this case to stay up # to date with fixes on the v11 branch. + with: + doNotCache: false - 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 - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake --preset=default -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - name: Build # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target SmartCharsetConverter CoreUnitTest + run: cmake --build --preset=default --config ${{env.BUILD_TYPE}} --target SmartCharsetConverter CoreUnitTest - name: Test working-directory: ${{github.workspace}}/build