From 2f5c186126b61dbdcc0a0cfb619154dafd6f7e63 Mon Sep 17 00:00:00 2001 From: McMassiveNZ <12842622+McMassiveNZ@users.noreply.github.com> Date: Sat, 17 Dec 2022 00:17:45 +0100 Subject: [PATCH] Update cmake.yml --- .github/workflows/cmake.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index f9b851b..6db8a86 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -41,7 +41,10 @@ jobs: run: ${{github.workspace}}/external/vcpkg/${{matrix.bootstrap}} -disableMetrics - name: Install packaged dependencies - run: ${{github.workspace}}/external/vcpkg/${{matrix.vcpkg}} install spdlog --triplet ${{matrix.triplet}} + if: runner.os == 'Windows + run: ${{github.workspace}}\external\vcpkg\vcpkg.exe install spdlog --triplet ${{matrix.triplet}} + else: + run: ${{github.workspace}}/external/vcpkg/vcpkg install spdlog --triplet ${{matrix.triplet}} - 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.