Try to add caching #4

This commit is contained in:
Patricia Aas 2021-09-10 13:57:14 +02:00
parent 030c82d1bc
commit 8ffa028b2f
1 changed files with 11 additions and 0 deletions

View File

@ -33,6 +33,17 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Create vcpkg build folder
run: mkdir -p ${{runner.workspace}}/build/_deps
- name: Cache vcpkg
uses: actions/cache@v2
env:
cache-name: vcpkg-modules
with:
path: ${{runner.workspace}}/build/_deps
key: ${{ runner.os }}-${{ matrix.configurations.cmake-build-type }}-${{ hashFiles('vcpkg.json') }}
- name: Fix Path on Ubuntu
if: matrix.configurations.os == 'ubuntu-20.04' || matrix.configurations.os == 'ubuntu-18.04'
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH