Skip to content

Commit b673043

Browse files
committed
use glob for cache
1 parent 496c40c commit b673043

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
id: restore-vcpkg-cache
6666
uses: actions/cache/restore@v4
6767
with:
68-
path: ${{env.VCPKG_DEFAULT_BINARY_CACHE}}
68+
path: ${{env.VCPKG_DEFAULT_BINARY_CACHE}}\**\*.zip
6969
key: vcpkg-cache-${{hashFiles('vcpkg.json', 'vcpkg\vcpkgLastBuiltCommitId')}}
7070

7171
- name: Configure application (Debug, Release
@@ -76,9 +76,9 @@ jobs:
7676
- name: Save vcpkg binary-cache
7777
uses: actions/cache/save@v4
7878
id: save-vcpkg-cache
79-
if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
79+
# if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
8080
with:
81-
path: ${{env.VCPKG_DEFAULT_BINARY_CACHE}}
81+
path: ${{env.VCPKG_DEFAULT_BINARY_CACHE}}\**\*.zip
8282
key: ${{steps.restore-vcpkg-cache.outputs.cache-primary-key}}
8383

8484
- name: Build application (Debug)

0 commit comments

Comments
 (0)