Closed Bzomak closed 7 months ago
If there is a pre-existing cache, we will either need to change the naming of the cache key so that it saves a new cache, or we will need to delete the pre-existing cache before we start.
It is best to delete the pre-existing cache just before saving the new cache. That way, if there are any other jobs running (from other workflows) that may need the cache, it greatly reduces the chance of a cache miss and job fail.
Any changes to the workflow process that do not changes any of the build/install scripts etc will not trigger a cache reset.
An option could be provided as a workflow input.