Skip to content

Commit 5a4ff88

Browse files
committed
added vcpkg caching
1 parent 5e1bbd7 commit 5a4ff88

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/cmake-multi-platform.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ jobs:
5858
sudo apt update
5959
sudo apt install -y libboost-context-dev libboost-fiber-dev
6060
61+
# Cache vcpkg downloads for windows if fibers are on
62+
- name: Cache vcpkg (Windows, Fibers ON)
63+
# Only do it on windows and if fibers are enabled
64+
if: runner.os == 'Windows' && matrix.fibers == 'ON'
65+
uses: actions/cache@v4
66+
with:
67+
path: vcpkg
68+
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
69+
6170
# Setup vcpkg for windows
6271
- name: Setup vcpkg (Windows)
6372
# only required if fibers were enabled

0 commit comments

Comments
 (0)