Skip to content

Commit 4555835

Browse files
committed
FIX | workflow caching
1 parent 34999fc commit 4555835

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/conan_build_and_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
run: pip install conan==2.*
4444

4545
- name: Conan Directory
46-
run: echo "${{ env.HOME }}/.conan2"
46+
run: echo "${{ runner.home }}/.conan2"
4747

4848
- name: Cache Conan Dependencies
4949
id: cache-conan
5050
uses: actions/cache@v4
5151
with:
52-
path: ${{ env.HOME }}/.conan2
53-
key: conan-${{ runner.os }}
52+
path: ${{ runner.home }}/.conan2
53+
key: conan-${{ runner.os }}-${{ matrix.c_compiler }}
5454
- if: ${{steps.cache-conan.outputs.cache-hit != 'true'}}
5555
name: Create default Conan profile
5656
run: conan profile detect --force

0 commit comments

Comments
 (0)