Skip to content

Commit 8d3d167

Browse files
committed
FIX | workflow caching
1 parent b432988 commit 8d3d167

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/conan_build_and_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
- name: Install Conan
4343
run: pip install conan==2.*
4444

45-
- name: Conan version
46-
run: echo "${{ steps.conan.outputs.version }}"
45+
- name: Conan Directory
46+
run: echo "${{ env.HOME }}/.conan2"
4747

4848
- name: Cache Conan Dependencies
4949
id: cache-conan
50-
uses: actions/cache/restore@v4
50+
uses: actions/cache@v2
5151
with:
5252
path: ${{ env.HOME }}/.conan2
5353
key: conan-${{ runner.os }}
@@ -83,7 +83,7 @@ jobs:
8383
run: cmake --preset conan-release -DMANAPIHTTP_ENABLE_TESTS=ON -DMANAPIHTTP_DISABLE_TRACE_HARD=ON -DMANAPIHTTP_STD_BACKTRACE_DEPENDENCY=OFF
8484

8585
- name: Build
86-
run: cmake --build build/Release
86+
run: cmake --build build/Release -j10
8787

8888
- name: Run unit tests
8989
run: ctest --output-on-failure -C Release

0 commit comments

Comments
 (0)