From 0b579c828f56cc6d9e925e841c0d1ebc481feca1 Mon Sep 17 00:00:00 2001 From: Jakub Melka Date: Sat, 9 Dec 2023 19:43:01 +0100 Subject: [PATCH] CI: Cache build trees, update some action versions --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20c0da6..6365bf9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |