From ccfff7015a14c2c453c37f5f6b0814a82a718e2e Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sun, 13 Oct 2024 16:02:36 -0400 Subject: [PATCH] ci: working vcpkg cache --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a497da58..adca2c161 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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