Cache vcpkg dependencies

fix-squashed-planets
Tomasz Kapuściński 2023-04-10 20:55:39 +02:00
parent b990ee81ff
commit 7c0dbd914f
1 changed files with 4 additions and 3 deletions

View File

@ -134,11 +134,12 @@ jobs:
- name: Install Colobot dependencies - name: Install Colobot dependencies
uses: lukka/run-vcpkg@v7 uses: lukka/run-vcpkg@v7
with: with:
setupOnly: true
vcpkgGitCommitId: '69efe9cc2df0015f0bb2d37d55acde4a75c9a25b' vcpkgGitCommitId: '69efe9cc2df0015f0bb2d37d55acde4a75c9a25b'
vcpkgTriplet: ${{ matrix.vcpkg_triplet }} vcpkgTriplet: ${{ matrix.vcpkg_triplet }}
setupOnly: true # SHA-256 hash of the vcpkg.json file, recalculated automatically when it changes
# SHA-256 hash of the list of packages above, for caching purposes appendedCacheKey: ${{ hashFiles( '**/vcpkg.json' ) }}
appendedCacheKey: '56a81d2ed18a506e5ce5cf4dc4e6ed9874bba3905ed5e9b073ea717a0663db0a' additionalCachedPaths: ${{ env.buildDir }}/vcpkg_installed
- name: Install external tools - name: Install external tools
working-directory: ${{ github.workspace }} working-directory: ${{ github.workspace }}
run: | run: |