File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,16 @@ jobs:
2525 uses : actions/cache@v4
2626 with :
2727 path : |
28- /opt/vcpkg/installed
29- /opt/vcpkg/buildtrees
30- /opt/vcpkg/packages
31- ~/.cache/vcpkg
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+ ~/.cache/vcpkg/archives # This is where vcpkg stores binary cache archives
3231 key : ${{ runner.os }}-vcpkg-${{ matrix.preset }}-${{ hashFiles('vcpkg.json') }}
3332 restore-keys : ${{ runner.os }}-vcpkg-
3433
3534 - name : Cache build
3635 uses : actions/cache@v4
3736 with :
38- path : |
39- build/${{ matrix.preset }}
37+ path : build
4038 key : ${{ runner.os }}-cmake-${{ matrix.preset }}-${{ hashFiles('CMakeLists.txt', '**/*.cmake') }}
4139 restore-keys : ${{ runner.os }}-cmake-
4240
Original file line number Diff line number Diff line change @@ -29,18 +29,16 @@ jobs:
2929 uses : actions/cache@v4
3030 with :
3131 path : |
32- /opt/vcpkg/installed
33- /opt/vcpkg/buildtrees
34- /opt/vcpkg/packages
35- ~/.cache/vcpkg
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+ ~/.cache/vcpkg/archives # This is where vcpkg stores binary cache archives
3635 key : ${{ runner.os }}-vcpkg-${{ matrix.preset }}-${{ hashFiles('vcpkg.json') }}
3736 restore-keys : ${{ runner.os }}-vcpkg-
3837
3938 - name : Cache build
4039 uses : actions/cache@v4
4140 with :
42- path : |
43- build/${{ matrix.preset }}
41+ path : build
4442 key : ${{ runner.os }}-cmake-${{ matrix.preset }}-${{ hashFiles('CMakeLists.txt', '**/*.cmake') }}
4543 restore-keys : ${{ runner.os }}-cmake-
4644
You can’t perform that action at this time.
0 commit comments