Cache vcpkg_installed also
This commit is contained in:
parent
8b6a0a5c86
commit
912624ccf9
1 changed files with 6 additions and 2 deletions
8
.github/workflows/cmake.yml
vendored
8
.github/workflows/cmake.yml
vendored
|
@ -34,14 +34,18 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Create vcpkg build folder
|
- name: Create vcpkg build folder
|
||||||
run: mkdir -p ${{runner.workspace}}/build/_deps
|
run: |
|
||||||
|
mkdir -p ${{runner.workspace}}/build/vcpkg_installed
|
||||||
|
mkdir -p ${{runner.workspace}}/build/_deps
|
||||||
|
|
||||||
- name: Cache vcpkg
|
- name: Cache vcpkg
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
env:
|
env:
|
||||||
cache-name: vcpkg-modules
|
cache-name: vcpkg-modules
|
||||||
with:
|
with:
|
||||||
path: ${{runner.workspace}}/build/_deps
|
path: |
|
||||||
|
${{runner.workspace}}/build/vcpkg_installed
|
||||||
|
${{runner.workspace}}/build/_deps
|
||||||
key: ${{ runner.os }}-${{ matrix.cmake-build-type }}-${{ hashFiles('vcpkg.json') }}
|
key: ${{ runner.os }}-${{ matrix.cmake-build-type }}-${{ hashFiles('vcpkg.json') }}
|
||||||
|
|
||||||
- name: Fix Path on Ubuntu
|
- name: Fix Path on Ubuntu
|
||||||
|
|
Loading…
Reference in a new issue