-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: Specify flutter version and/or disable automatic download #18
Comments
My understanding is that the user knows they're building their app with Flutter version X, which is not the default version included with Shorebird, and so they'd like to disable Shorebird from downloading that other version Y, on CI and only download X. This request is suggesting either making X an option to the shorebird install step, or making It's mostly a CI-specific problem. We also could do other things to reduce the downloaded size of Flutter, particularly on CI where Linux (and thus a modern version of Git) is possibly more available. |
See also shorebirdtech/install#33. |
Related to this, it would be nice if we could specify the Shorebird version installed by this action. Bonus points for supporting reading version from |
Sorry for the disruption re: 3.22.2 being now required for iOS. |
@eseidel For some context on the above request:
|
Fwiw we just released support for caching your Shorebird installation (including Flutter artifacts) in v1.0.1 in case that helps 👍 |
Current Implementation
Shorebird automatically downloads the latest version of the modified Flutter SDK
Problem
Context
Sometimes, for one reason or another, not using the latest version of the Flutter SDK is required. If it isn't needed, the latest version gets downloaded during the setup and is never used.
Specifying a version could be considered redundant, however, if the
shorebird release|patch
already performs a check for the version provided by--flutter-version
. It might be better to turn off the automatic download since it will happen later down the pipeline anyways.The Proposition
flutter-version
that will default to the latest modified flutter version.OR
The text was updated successfully, but these errors were encountered: