Skip to content

Commit fe1adf4

Browse files
committed
Add vcpkg dependency caching to speed up builds
1 parent 7ac4484 commit fe1adf4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ jobs:
1919
with:
2020
dotnet-version: '8.0.x'
2121

22+
- name: Cache vcpkg dependencies
23+
uses: actions/cache@v4
24+
with:
25+
path: ./vcpkg_installed
26+
key: vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg.json', 'vcpkg-configuration.json') }}
27+
restore-keys: |
28+
vcpkg-${{ runner.os }}-
29+
2230
- name: Setup project
2331
shell: cmd
2432
run: setup.bat

0 commit comments

Comments
 (0)