lukka/get-vcpkg

Run vcpkg to build C/C++ dependencies and cache them automatically.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 21, 2022
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: lukka/get-vcpkg@e5c280005e195c57a9db9433f1959114ca9b3bc3 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
vpkg_root_pathSpecify a directory where vcpkg is already installed.no${{ github.workspace }}/vcpkg
vcpkgjson_pathSpecify the full path to vcpkg.json.no${{ github.workspace }}/vcpkg.json
appended_cache_keyThis value is added to the precomputed key used to restore/save the cached artifacts produced by vcpkg.no
build_commandThe full command to build, e.g. cmake -S ./src -B ./build && cmake --build ./buildyes
namedescription
cache_keyThe key of the newly created cache entry.
vcpkg_rootThe path to vcpkg.