Skip to content

Commit c0ccfec

Browse files
committed
self cache
1 parent 65ae422 commit c0ccfec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-on-windows.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,15 @@ jobs:
5757
- name: Install CMake and Ninja
5858
uses: lukka/get-cmake@latest
5959

60-
- name: Setup vcpkg (optionally from cache)
60+
- name: Setup vcpkg
6161
uses: lukka/run-vcpkg@v11
6262

63+
# lukka/run-vcpkg@v11 does not have a working cache implementation.
64+
- uses: actions/cache@v4
65+
with:
66+
path: ${{env.VCPKG_DEFAULT_BINARY_CACHE}}
67+
key: vcpkg-cache-${{hashFiles('vcpkg.json', 'vcpkg\vcpkgLastBuiltCommitId')}}
68+
6369
- name: Configure application (Debug, Release
6470
uses: lukka/run-cmake@v10
6571
with:

0 commit comments

Comments
 (0)