Sometimes, we may cancel a build while in progress, prevent GitHub Actions from saving the cache in such a case.