Skip to content

Commit 2ca7c80

Browse files
committed
caches conan dependencies in github action
1 parent 84017d2 commit 2ca7c80

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci-compile.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131

3232
- name: Update submodules
3333
run: git submodule update --init --recursive
34+
35+
- name: Cache Conan
36+
uses: actions/cache@v4
37+
with:
38+
path: ~/.conan2
39+
key: conan-${{ runner.os }}-unit-cpp${{ matrix.cpp_std }}-${{ hashFiles('conanfile.py') }}
3440

3541
- name: Install dependencies
3642
run: |

0 commit comments

Comments
 (0)