-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduce
Expected resultsCache being a reasonable size that speeds up my builds. Actual resultsThis is the output that i get:
In addition this steps takes very long (~3minutes) and then produces no result that will speed up future builds :( Build id (optional)64aff19b2dd25b9d7f60255f |
Beta Was this translation helpful? Give feedback.
Answered by
dtrdic
Jul 14, 2023
Replies: 1 comment 4 replies
-
Hello @flodaniel, please note that caching in Codemagic is limited to 1GB, as indicated in the warning message |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @flodaniel! When it comes to caching in Codemagic, the specific paths you choose to cache depend on your project and its size. While there are recommended paths, it's important to keep in mind that not all projects are the same and the effectiveness of caching can vary. Therefore, caching is not a guaranteed solution to speed up your builds.
For your project, you can consider caching the following paths:
$HOME/.pub-cache
or
$FLUTTER_ROOT/bin/cache/dart-sdk
These paths are commonly found in Flutter projects.The caching process takes place during the final step of a successful build, and the cached files are retrieved in subsequent builds. If any of the files within the specified pat…