fantana21/set-up-vcpkg
Install vcpkg, set environment variables, and cache the vcpkg binary packages
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| committish | Committish of the vcpkg repository to checkout. This can be a branch, tag, or commit SHA. | no | master |
| cache-key | Key for the vcpkg cache. It should at least contain the OS and the compiler. A hash of the committish, CMakeLists.txt files, and/or vcpkg.json is also a good idea. See https://github.com/actions/cache for more details. | yes | — |
| cache-restore-keys | Additional keys for restoring the vcpkg cache. They are used if the primary key does not find a cache. See https://github.com/actions/cache for more details. | no | — |
| save-always | Always run the "post" script to save whatever is in the cache. | no | false |
| use-private-registry | Whether to use our private vcpkg registry. This will authenticate the registry with the personal access token passed in private-registry-pat and download the vcpkg-configuration.json from its repository. | no | false |
| private-registry-pat | Personal access token with read access to the contents of our private vcpkg registry at https://github.com/fantana21/vcpkg-registry. Must be set when use-private-registry is true. | no | — |
Outputs
| name | description |
|---|---|
| cache-hit | Whether the cache could be restored or not |