G-Research / ParquetSharp

ParquetSharp is a .NET library for reading and writing Apache Parquet files.
Apache License 2.0
183 stars 49 forks source link

Use GitHub Actions for vcpkg binary caching #457

Closed jgiannuzzi closed 5 months ago

jgiannuzzi commented 5 months ago

This PR switches our CI to use a more granular approach to vcpkg binary caching. It uses the GitHub Actions Cache feature of vcpkg to cache individual packages instead of the all-or-nothing blob approach we were using. The huge advantage is that any package that gets properly built gets cached, even if the workflow does fail at some point in time. The other advantage is that we don't need to keep updating our cache keys to try to match the vcpkg ABI mechanism, but can instead let vcpkg do its thing.