Skip to content

Releases: subosito/flutter-action

v2.16.0

02 Apr 12:29
44ac965
Compare
Choose a tag to compare

This release introduces the dry-run option, which lets you only get action outputs without downloading Flutter. This can be useful if you want to set up some automations to be notified about new Flutter releases.

steps:
  - name: Clone repository
  - uses: actions/checkout@v4
  - name: Set up Flutter
    uses: subosito/flutter-action@v2
    id: flutter-action
    with:
      channel: stable
      dry-run: true
  - run: |
      # Always print the latest stable version.
      echo CHANNEL=${{ steps.flutter-action.outputs.CHANNEL }}
      echo VERSION=${{ steps.flutter-action.outputs.VERSION }}
    shell: bash

Thank you @kzrnm for suggesting and implementing it in #270!

v2.15.0

01 Apr 02:16
3d80492
Compare
Choose a tag to compare

Hi! I'm Bartek and I'm a 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.

v2.14.0

20 Mar 05:17
v2.14.0
1c5eb12
Compare
Choose a tag to compare
fix: pub cache path

v2.13.0

01 Mar 09:19
v2.13.0
62f096c
Compare
Choose a tag to compare
auto set architecture; caching improvement

v2.12.0

01 Nov 11:05
v2.12.0
2783a3f
Compare
Choose a tag to compare
fixes script permission and temp dir on mac hosted

v2.11.0

11 Oct 09:02
v2.11.0
cc97e16
Compare
Choose a tag to compare

Allow git ref as version for master channel:

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
  with:
    flutter-version: '5b12b74' # tag, commit or branch
    channel: 'master'
- run: flutter --version

v2.10.0

22 Mar 23:00
Compare
Choose a tag to compare
re-add master channel

v2.9.1

22 Mar 01:59
Compare
Choose a tag to compare
fix filter by arch

v2.9.0

21 Mar 15:37
Compare
Choose a tag to compare
  • Rewrite to make simpler
  • Drop master channel
  • Drop searching for a version with a v-prefix query, use, e.g, 0.11.9 instead of v0.11.9
  • Support restore keys for cache

v2.8.0

12 Oct 23:34
dbf1fa0
Compare
Choose a tag to compare
replace set-output with $GITHUB_OUTPUT