Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The windows-vs2019 CI is failing due to corrupted clcache.
Unfortunetly github doesnt have clean way to clear the cache.
GitHub will remove any cache entries that have not been accessed in over 7 days. There is no limit on the number of caches you can store, but the total size of all caches in a repository is limited to 5 GB. If you exceed this limit, GitHub will save your cache but will begin evicting caches until the total size is less than 5 GB.
But since the cache is used I dont think github will clear it.
A quick and dirty fix is: if we were to change the key in the .github/ci.yml file, it would fix the issue.
https://github.community/t/how-to-clear-cache-in-github-actions/129038/3
If this issue comes up again maybe we could implement a workflow that clears the caches, with https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/