GitHub Action
Setup Flutter Version Management CLI
v1.0
Latest version
Important
This action is not working as expected, I would like to apology for this since I don't have the bandwidth to resolve the issues yet at this time.
Warning
Currently, the action only supports Linux and macOS runners.
This GitHub Action installs and sets up of a Flutter Version Management by @leoafarias. An alternative to the flutter-actions/setup-flutter action.
The action takes the following inputs:
version
: The version of FVM to install. Default:latest
.
Install the latest FVM:
name: Flutter
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Flutter Version Management CLI
uses: flutter-actions/setup-fvm@v1
- name: Install Flutter SDK
run: echo yes | fvm use stable
- name: Print Flutter SDK version
run: fvm flutter --version
Important
Do not use both flutter-actions/setup-flutter
and flutter-actions/setup-fvm
in the same workflow. It provides the same functionality, so just pick one.
Licensed under the MIT License.