CI: Cache build trees, update some action versions

This commit is contained in:
Jakub Melka 2023-12-09 19:43:01 +01:00
parent ee42c63f80
commit 0b579c828f
1 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: pdf4qt
@ -21,14 +21,15 @@ jobs:
./vcpkg integrate install
- name: 'VCPKG: Cache vcpkg dependencies'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
./vcpkg/buildtrees
./vcpkg/downloads
./vcpkg/packages
key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/vcpkg.json') }}
key: ${{ runner.os }}-vcpkg-v2-${{ hashFiles('**/vcpkg.json') }}
restore-keys: |
${{ runner.os }}-vcpkg-
${{ runner.os }}-vcpkg-v2-
- name: 'VCPKG: Install project dependencies'
run: |