mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-05 07:16:18 +00:00
invalidate cache on vcpkg.json change
This commit is contained in:
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user