Infer Flutter version from pubspec.yaml
#215
Replies: 3 comments
-
Which version would you infer from |
Beta Was this translation helpful? Give feedback.
-
@kuhnroyal Thanks for showing https://github.com/kuhnroyal/flutter-fvm-config-action – looks nice and like something that is a way to solve this problem.
The minimum one. It's a good practice to keep the lower bound of
So for using current stable version of Flutter, it'd be: environment:
sdk: '>=2.19.4 <4.0.0'
flutter: '>=3.7.7' At work, when we upgrade a project to a newer Flutter version, we also update lower bound of |
Beta Was this translation helpful? Give feedback.
-
I implemented this in #290 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
(This discussion was created out of issue #211).
I find it a bit annoying that whenever I update Flutter, I have to change the version in
pubspec.yaml
and in my GitHub Actions workflows.I think it'd be great if this action would infer Flutter version from
pubspec.yaml
:This approach is used in, for example, the actions/setup-go:
Of course, it'd still be possible to explicitly specify the Flutter version to use.
Beta Was this translation helpful? Give feedback.
All reactions