KDAB / cxx-qt

Safe interop between Rust and Qt
https://kdab.github.io/cxx-qt/book/
993 stars 66 forks source link

github: always use same cache rather than creating new ones #836

Closed ahayzen-kdab closed 6 months ago

ahayzen-kdab commented 6 months ago

Before we had the problem that we tried to always restore the same cache but only save it when a commit reached main, this had the problem that if nothing reached main the cache would expire after 1 week.

Instead always save the cache, this will cause the cache to have some items from branches, but is probably still more beneficial and allows us to avoid evictions.