subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.28k stars 202 forks source link

Allow for specifying only MAJOR.MINOR Flutter version (without the "x" suffix) #298

Open bartekpacia opened 7 months ago

bartekpacia commented 7 months ago

Allow for specifying Flutter version like this:

- name: Set up Flutter
  uses: subosito/flutter-action@v2
  with:
    channel: stable
    flutter-version: 3.19

in addition to the aleady supported:

- name: Set up Flutter
  uses: subosito/flutter-action@v2
  with:
    channel: stable
    flutter-version: 3.19.x

This would make us more consistent with the official dart-lang/setup-dart action.