v2.15.0
Hi! I'm Bartek and I'm the new maintainer of this action. I promise to take good care of it.
This release introduces the flutter-version-file
option (implemented in #290), which lets you easily centralize Flutter version in a single place – your pubspec.yaml file:
You can use it like this:
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: pubspec.yaml # path to pubspec.yaml
Please note that for this to work, you need to specify exact Flutter version in pubspec.yaml:
environment:
dart: ">=3.3.0 <4.0.0"
flutter: 3.19.0 # This must be exact! No ranges allowed.
Apart from that, some minor README updates and code cleanup were performed.