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 - 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