invalidate cache on vcpkg.json change

This commit is contained in:
Lion Kortlepel
2023-12-05 16:32:32 +01:00
parent d28add2747
commit a35887b3c6

View File

@@ -29,7 +29,7 @@ jobs:
uses: actions/cache/restore@v3
with:
path: ./vcpkg/buildtrees
key: ${{ runner.os }}-${{ github.job }}-vcpkg
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('vcpkg.json') }}-vcpkg
- name: Create Build Environment
run: bash ./scripts/debian-11/2-configure.sh '-DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake'