Skip to content

Commit

Permalink
auto vcpkg cache
Browse files Browse the repository at this point in the history
  • Loading branch information
liangzhuohua committed Jun 14, 2024
1 parent cb30f5d commit 88b59ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ jobs:
- name: Add MSBuild to PATH
uses: ilammy/[email protected]

- name: Set up cache for vcpkg/installed
id: cache-vcpkg
uses: actions/cache@v3
with:
path: vcpkg/installed
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg/installed/**/*') }}
restore-keys: |
${{ runner.os }}-vcpkg-
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
Expand Down

0 comments on commit 88b59ba

Please sign in to comment.