forked from mpusz/mp-units
ci: another attempt to cache Chocolatey dependencies
This commit is contained in:
8
.github/workflows/ci-conan.yml
vendored
8
.github/workflows/ci-conan.yml
vendored
@@ -81,11 +81,15 @@ jobs:
|
|||||||
- name: Cache Chocolatey Dependencies
|
- name: Cache Chocolatey Dependencies
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
env:
|
||||||
|
cache-name: cache-choco-lib
|
||||||
with:
|
with:
|
||||||
path: C:\ProgramData\chocolatey\lib
|
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: |
|
restore-keys: |
|
||||||
choco-cache-
|
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||||
|
${{ runner.os }}-build-
|
||||||
|
${{ runner.os }}-
|
||||||
- name: Install Clang
|
- name: Install Clang
|
||||||
if: matrix.config.compiler.type == 'CLANG'
|
if: matrix.config.compiler.type == 'CLANG'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Reference in New Issue
Block a user