Skip to content

Commit

Permalink
Revert "Remove overall vcpkg cache of all installed packages"
Browse files Browse the repository at this point in the history
This reverts commit b436350.

It appears there is a significant speed advantage to caching all packages as a whole.
  • Loading branch information
DanRStevens committed Nov 27, 2024
1 parent 95f5ba6 commit d9c8d88
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: Restore vcpkg dependency cache
uses: actions/cache@v4
id: cache
with:
path: vcpkg_installed
key: ${{ runner.os }}-${{ matrix.platform }}-${{ hashFiles('vcpkg.json') }}

- name: Restore incremental build cache
uses: actions/cache/restore@v4
if: github.ref != format('refs/heads/{0}', github.event.repository.default_branch)
Expand Down

0 comments on commit d9c8d88

Please sign in to comment.