ci: working vcpkg cache
This commit is contained in:
parent
6b641a432a
commit
ccfff7015a
1 changed files with 3 additions and 6 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
|
@ -147,13 +147,10 @@ jobs:
|
||||||
- name: Cache vcpkg dir
|
- name: Cache vcpkg dir
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
# We also need to cache the `LOCALAPPDATA` dir; without doing so, openssl
|
|
||||||
# rebuilds (after it is detected in cache) every time, which takes around 10 mins.
|
|
||||||
path: |
|
path: |
|
||||||
vcpkg
|
${{github.workspace}}/vcpkg
|
||||||
vcpkg_installed
|
|
||||||
${{ env.LOCALAPPDATA }}/vcpkg
|
key: vcpkg-${{ runner.os }}-1
|
||||||
key: vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg.json', 'vcpkg-configuration.json') }}
|
|
||||||
|
|
||||||
- name: Cache deps dir
|
- name: Cache deps dir
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue