github subosito/flutter-action v2.15.0

latest releases: v2.21.0, v2, v2.20.0...
17 months ago

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.

Don't miss a new flutter-action release

NewReleases is sending notifications on new releases.