jumboly/Setup vcpkg NuGet Cache

Configure vcpkg to use a GitHub Packages NuGet feed as a binary cache. Pins vcpkg to the SHA from your vcpkg.json builtin-baseline (or to an explicit override).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub token with packages:write (for publish) or packages:read (for consume-only). secrets.GITHUB_TOKEN works when publishing within the same owner as the calling repo. Cross-owner publish or read requires a Personal Access Token. yes
mode`read` (consumer-only) or `readwrite` (publisher).noreadwrite
vcpkg-commitExplicit microsoft/vcpkg commit SHA to pin the local checkout to. Overrides `manifest-path` auto-detection. Tags or branch names also work, but commit SHAs are recommended for reproducibility. Leave empty to read the SHA from vcpkg.json's `builtin-baseline` field. no""
manifest-pathPath to vcpkg.json. The action reads its `builtin-baseline` field as the pin SHA when `vcpkg-commit` is not set. Default: `./vcpkg.json`. no./vcpkg.json
feed-urlNuGet feed URL. Default: GitHub Packages of the calling repository owner (https://nuget.pkg.github.com/<owner>/index.json). no""
feed-nameInternal NuGet source key. Used by `nuget sources add`.nogithub-packages
vcpkg-rootPath to vcpkg installation. Default resolution: $VCPKG_INSTALLATION_ROOT, then $VCPKG_ROOT, then C:/vcpkg. no""
namedescription
feed-urlResolved feed URL.
vcpkg-rootResolved vcpkg root path.
vcpkg-commitSHA the vcpkg checkout was pinned to (auto-resolved or from input).