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