[MSWin] Cache installed vcpkg packages

This commit is contained in:
Nobuyoshi Nakada 2022-02-05 21:51:46 +09:00
parent 90a540e9f2
commit b9083c206a
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -55,6 +55,13 @@ jobs:
restore-keys: |
${{ runner.os }}-vcpkg-download-${{ matrix.os }}-
${{ runner.os }}-vcpkg-download-
- uses: actions/cache@v2
with:
path: C:\vcpkg\installed
key: ${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-
${{ runner.os }}-vcpkg-installed-
- name: Install libraries with vcpkg
run: |
vcpkg --triplet x64-windows install readline zlib