ci: working vcpkg cache

This commit is contained in:
sithlord48 2024-10-13 16:02:36 -04:00
parent 6b641a432a
commit ccfff7015a

View file

@ -147,13 +147,10 @@ jobs:
- name: Cache vcpkg dir
uses: actions/cache@v4
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: |
vcpkg
vcpkg_installed
${{ env.LOCALAPPDATA }}/vcpkg
key: vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg.json', 'vcpkg-configuration.json') }}
${{github.workspace}}/vcpkg
key: vcpkg-${{ runner.os }}-1
- name: Cache deps dir
uses: actions/cache@v4