Skip to content

v2.16.0

Latest
Compare
Choose a tag to compare
@bartekpacia bartekpacia released this 02 Apr 12:29
· 2 commits to main since this release
44ac965

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!