I have a workflow for iOS that runs every night and I use Carthage and Cache Pull / Push steps. And it seems that Carthage does not use the cache even if the Cache Pull step says “Downloading and extracting cache archive”, then the Carthage step says “cache available: false”.
When running the same workflow multiple time during the day the cache works but when it’s been a long time I did not run it it seems not to use the cache.
when you said you did not build for a long time, you mean by hand on the website, or the scheduled build as well? for the cache is deleted after a week if you don’t build
also, Could you enable support user on the app’s settings tab, so I could check out some setups, and try a few test builds if it’s ok with you?
The build on a non-default branch, to speed things up, can access (read-only) the cache of the primary branch, until a successful build is found on the new branch. Once a build on the new branch pushes a cache, new builds on that branch will get the cache of the branch. *Caches are stored and available for every branch separately.
So if I run a workflow on a new branch shouldn’t it get the cache from my default branch?
Could you enable debug mode for the cache push pull steps?
also add a script step before the carthage step to log out the /Users/vagrant/git/Carthage folder
Hy, sorry yes that would be the idea, also there is a new version for cache push, I hope it can solve this problem for good
and sorry for the late response.