Skip to content

CI: Clean up Caches #2444

@AmmarAbouZor

Description

@AmmarAbouZor

We are currently saving caches from each CI run which are mainly generated from sccache to save CI build time. However, these caches won't be cleaned up automatically making the current CI pipelines fails because there is no cache available anymore.

We need to clean up the cache automatically, making sure that we are keeping the needed caches for the next run but to remove the not needed ones (Maybe periodically?).

Here is an example for a workflow to remove caches automatically. However, this example will remove all the caches that we may need for the next runs

Metadata

Metadata

Assignees

Labels

newnewly created issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions