Attempt to fix windows build vcpkg cache - #731
Conversation
|
Giving claude all the credit for this one, this is its explanation. Basically its saying the way the cache keys were configured we would always get a hit but the binaries wouldnt update so vcpkg itself would ignore the cache The Windows vcpkg binary cache was getting "stuck stale." The GitHub Actions cache key was: vcpkg-Windows-X64-<hash of vcpkg.json + baseline> When GitHub updates MSVC on the runner, vcpkg's internal ABI hash changes (it includes compiler version), so the cached binaries no longer The fix appends run_id to the primary key so it's always unique (never an exact hit, always saves). The restore-key prefix still finds the most Linux/macOS don't have this problem because the manylinux container pins its GCC version and macOS Xcode updates are less frequent/impactful. |
Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
f75afd8 to
42503ec
Compare
No description provided.