⚠️ The branch-based caching steps are deprecated and being replaced by key-based caching. Check out our migration guide: [Migrating from branch-based caching to key-based caching](https://devcenter.bitrise.io/en/dependencies-and-caching/branch-based-caching/migrating-from-branch-based-caching-to-key-based-caching.html).
Downloads the build cache from bitrise.io, and moves the files back to their original place. The aim is to speed up your builds as not having to download every single dependency every time can be a serious timesaver.
To be able to pull from a previous build's cache, you need two things.
If there was no successful build on the branch in question in the last seven days, the cache automatically gets deleted.
If the Step fails, check the time of the latest build. If there was a successful build in the last seven days, check if the Workflow included the Cache:Push Step.
If the Cache:Push Step was present, check the inputs of the Step. It's possible, for example, that the provided cache path is incorrect.