Skip to content

Commit 0b88587

Browse files
CopilotBewareMyPower
authored andcommitted
improve vcpkg cache on Windows
1 parent 90ade48 commit 0b88587

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/ci-pr-validation.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,12 @@ jobs:
6060
- name: Restore vcpkg and its artifacts.
6161
uses: actions/cache@v4
6262
id: vcpkg-cache
63+
continue-on-error: true
6364
with:
6465
path: |
65-
${{ env.VCPKG_ROOT }}
66-
vcpkg_installed
67-
!${{ env.VCPKG_ROOT }}/.git
68-
!${{ env.VCPKG_ROOT }}/buildtrees
69-
!${{ env.VCPKG_ROOT }}/packages
70-
!${{ env.VCPKG_ROOT }}/downloads
66+
${{ github.workspace }}/vcpkg_installed
67+
${{ env.VCPKG_ROOT }}/installed
68+
${{ env.VCPKG_ROOT }}/downloads
7169
key: ${{ runner.os }}-${{ matrix.triplet }}-${{ hashFiles('vcpkg.json') }}
7270
restore-keys: ${{ runner.os }}-${{ matrix.triplet }}-
7371

0 commit comments

Comments
 (0)