actions-marketplace-validations/vcpkg-action
Simple action to run vcpkg and cache results
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Aug 21, 2025
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/johnwason_vcpkg-action@ae07fd6758cbfd9942caf15d835ee46b3fcdfa14 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| pkgs | List of packages to build, separated by spaces. Cannot be used with manifest-dir | no | — |
| triplet | vcpkg triplet to use | yes | — |
| extra-args | Extra vcpkg install command line args (optional) | no | "" |
| cache-key | Additional cache key component (optional) | no | — |
| disable-cache | Disable cache (useful for release builds) | no | false |
| revision | vcpkg revision to checkout. | no | "" |
| token | GitHub token to authenticate API requests. Recommended to use github.token | no | "" |
| manifest-dir | Directory containing vcpkg.json manifest file. Cannot be used with pkgs. | no | "" |
| fetch-depth | Fetch depth for vcpkg checkout | no | 1 |
| vcpkg-subdir | The subdirectory into which to install VCPKG | no | vcpkg |
| collect-logs | Collect vcpkg logs and artifacts either 'always', 'on-failure', or 'never'. | no | "" |
Outputs
| name | description |
|---|---|
| vcpkg-cmake-config | Configure options for cmake to use vcpkg |
| vcpkg-cache-hash | Hash of the vcpkg cache key |