Clear cache more agresively to avoid failing builds in Flatpak
In certain situations Builder fails to build with Flatpak with a new configuration. Removing the cache fixes these cases, so most probably Builder needs to clear the cache more aggressively.
Seems these are the cases where it fails:
- Changing branches outside of the manifest with
git checkout
. - Changing branches and commits of projects inside the manifest.
- Changing sdk version inside the manifest.
- Changing branch version inside the manifest.