From 912624ccf986283b698c347d353ccceca8599808 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Fri, 10 Sep 2021 14:39:33 +0200 Subject: [PATCH] Cache vcpkg_installed also --- .github/workflows/cmake.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5c932b7..e172f13 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -34,14 +34,18 @@ jobs: - uses: actions/checkout@v2 - name: Create vcpkg build folder - run: mkdir -p ${{runner.workspace}}/build/_deps + run: | + mkdir -p ${{runner.workspace}}/build/vcpkg_installed + mkdir -p ${{runner.workspace}}/build/_deps - name: Cache vcpkg uses: actions/cache@v2 env: cache-name: vcpkg-modules with: - path: ${{runner.workspace}}/build/_deps + path: | + ${{runner.workspace}}/build/vcpkg_installed + ${{runner.workspace}}/build/_deps key: ${{ runner.os }}-${{ matrix.cmake-build-type }}-${{ hashFiles('vcpkg.json') }} - name: Fix Path on Ubuntu