lukka/get-vcpkg
Run vcpkg to build C/C++ dependencies and cache them automatically.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 21, 2022
- License
- MIT
Pinned Snippet
uses: lukka/get-vcpkg@e5c280005e195c57a9db9433f1959114ca9b3bc3 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| vpkg_root_path | Specify a directory where vcpkg is already installed. | no | ${{ github.workspace }}/vcpkg |
| vcpkgjson_path | Specify the full path to vcpkg.json. | no | ${{ github.workspace }}/vcpkg.json |
| appended_cache_key | This value is added to the precomputed key used to restore/save the cached artifacts produced by vcpkg. | no | — |
| build_command | The full command to build, e.g. cmake -S ./src -B ./build && cmake --build ./build | yes | — |
Outputs
| name | description |
|---|---|
| cache_key | The key of the newly created cache entry. |
| vcpkg_root | The path to vcpkg. |