johnwason / vcpkg-action

Simple vcpkg action to build and cache packages
17 stars 3 forks source link

Add github-binarycache option to use built in cache #22

Closed johnwason closed 8 months ago

johnwason commented 8 months ago

This pull requests adds a new option github-binarycache to use vcpkg's new built-in support for directly caching packages in the GitHub actions cache. This should be more reliable than the current dry-run based method. Set github-binarycache: true option to enable.

See https://learn.microsoft.com/en-us/vcpkg/consume/binary-caching-github-actions-cache