From d48db94f7d4fabd603661630d12c9bc4d8649076 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 17 Mar 2021 22:19:57 +0100 Subject: [PATCH] ci: another attempt to cache Chocolatey dependencies --- .github/workflows/ci-conan.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-conan.yml b/.github/workflows/ci-conan.yml index 358eec84..cd35db25 100644 --- a/.github/workflows/ci-conan.yml +++ b/.github/workflows/ci-conan.yml @@ -81,11 +81,15 @@ jobs: - name: Cache Chocolatey Dependencies if: runner.os == 'Windows' uses: actions/cache@v2 + env: + cache-name: cache-choco-lib with: path: C:\ProgramData\chocolatey\lib - key: choco-cache-${{ hashFiles('**/dependencies.config') }} + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('C:\ProgramData\chocolatey\lib\**') }} restore-keys: | - choco-cache- + ${{ runner.os }}-build-${{ env.cache-name }}- + ${{ runner.os }}-build- + ${{ runner.os }}- - name: Install Clang if: matrix.config.compiler.type == 'CLANG' shell: bash