Infer Flutter version from pubspec.yaml
#215
Replies: 3 comments
|
Which version would you infer from |
|
@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 |
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.yamland 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.
All reactions