-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to automatically run flutter precache
#256
Comments
I like this idea @bartekpacia, I would be happy to merge the PR. |
awesome, I'll start on it :) |
What about nested booleans? precache:
ios: true
android: false |
That's some solution, thanks! However it results in quite "tall" code. |
I think this would be cool: Precache artifacts for all currently enabled platforms: precache: true OR precache artifacts for specific platforms: precache:
ios: true
android: false Both syntaxes would be correct. I'm not sure if GitHub Actions supports this though (mixed type: value vs list of values). @yurikoles what do you think? |
This feature is mostly for GitHub-hosted runners only. Self-hosted runners retain their state, so precaching seems less important for them. Cheaper Linux runners are preferred due to higher billing multipliers for macOS and Windows runners. Most users require only iOS support on macOS runners. Therefore, I propose to implement one boolean, which will run |
see #276 (comment) |
I often have the following code in my workflows
I wish I could so something like:
Possibly it should also allow for more granular selection of artifacts to precache, e.g.
flutter precache --android --ios
would translate to:The text was updated successfully, but these errors were encountered: