Skip to content

Commit 549fd53

Browse files
committed
updated vcpkg caches so hopefully it works now
1 parent d5364c6 commit 549fd53

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/clang_tidy.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,18 @@ jobs:
2525
uses: actions/cache@v4
2626
with:
2727
path: |
28-
/opt/vcpkg/installed # This is where vcpkg installs the built packages that CMake actually uses
29-
/opt/vcpkg/downloads # This prevents re-downloading source archives
30-
/root/.cache/vcpkg/archives # This is where vcpkg stores binary cache archives
31-
key: ${{ runner.os }}-vcpkg-${{ matrix.preset }}-${{ hashFiles('vcpkg.json') }}
28+
/opt/vcpkg/buildtrees
29+
/opt/vcpkg/downloads
30+
/opt/vcpkg/installed
31+
/root/.cache/vcpkg/archives
32+
key: ${{ runner.os }}-vcpkg-clang_debug-${{ hashFiles('vcpkg.json') }}
3233
restore-keys: ${{ runner.os }}-vcpkg-
3334

3435
- name: Cache build
3536
uses: actions/cache@v4
3637
with:
3738
path: build
38-
key: ${{ runner.os }}-cmake-${{ matrix.preset }}-${{ hashFiles('CMakeLists.txt', '**/*.cmake') }}
39+
key: ${{ runner.os }}-cmake-clang_debug-${{ hashFiles('CMakeLists.txt', '**/*.cmake') }}
3940
restore-keys: ${{ runner.os }}-cmake-
4041

4142
- name: Install clang-tidy

.github/workflows/linux-build.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ jobs:
2929
uses: actions/cache@v4
3030
with:
3131
path: |
32-
/opt/vcpkg/installed # This is where vcpkg installs the built packages that CMake actually uses
33-
/opt/vcpkg/downloads # This prevents re-downloading source archives
34-
/root/.cache/vcpkg/archives # This is where vcpkg stores binary cache archives
32+
/opt/vcpkg/buildtrees
33+
/opt/vcpkg/downloads
34+
/opt/vcpkg/installed
35+
/root/.cache/vcpkg/archives
3536
key: ${{ runner.os }}-vcpkg-${{ matrix.preset }}-${{ hashFiles('vcpkg.json') }}
3637
restore-keys: ${{ runner.os }}-vcpkg-
3738

0 commit comments

Comments
 (0)