Skip to content

Commit

Permalink
only need to cache vcpkg/packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby committed Sep 18, 2024
1 parent a682691 commit 2178f02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ runs:

- uses: actions/cache@v4
with:
key: vcpkg-${{ inputs.target }}-${{ hashFiles('./vcpkg.json') }}
path: './vcpkg'
key: deps-${{ inputs.target }}-${{ hashFiles('./vcpkg.json') }}
path: './vcpkg/packages'

- uses: lukka/run-vcpkg@v11

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: C/C++ CI

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
Expand Down

0 comments on commit 2178f02

Please sign in to comment.