friendlyanon/Setup vcpkg
Sets vcpkg up in GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| git-url | URL of the git repository to fetch vcpkg from. | no | https://github.com/microsoft/vcpkg.git |
| committish | Committish of the vcpkg repository to fetch. If not passed, then there must be a git submodule at <path>. You may use the <submodules> parameter for the actions/checkout action to check submodules out along with your own repository. | no | — |
| cache | Whether to cache the vcpkg folder. | no | true |
| cache-key | Cache key to store the vcpkg folder with. Defaults to vcpkg-<os>-<hash> where <os> is the runner.os context value and <hash> is the SHA1 checksum derived from both the github.sha context value and the value passed as the committish input. | no | — |
| cache-restore-keys | Cache keys to attempt to restore the vcpkg folder with. Defaults to vcpkg-<os>- where <os> is the runner.os context value. | no | — |
| cache-version | A cache buster value that gets appended after the <os> value in the cache key. | no | — |
| path | Directory to store vcpkg in. Paths should be relative to the github workspace folder. If <committish> is not passed, then this must point at an existing git submodule. See the description of <committish> for details. | no | vcpkg |
| ignore-reserve-cache-error | ReserveCacheError errors will not be reported. This error happens when the cache keys are not defined per job and multiple jobs want to write back to the same cache key. Use this only if you know what you are doing. | — | false |
| skip-save | Disables the cache saving post step if true. | — | false |
| save-always | Always run the "post" script to save whatever is in the cache, unless the <skip-save> option is true, in which case the "post" script continues to do nothing. | — | false |
Outputs
| name | description |
|---|---|
| cache-hit | "true" if the cache could be restored, otherwise "false". If caching was not requested, then this will be an empty string. |