Skip to content

Setup Flutter Version Management CLI

Actions
Setup the Flutter Version Management CLI, and add it to the PATH
v1.0
Latest
Star (1)

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.

About

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.

Inputs

The action takes the following inputs:

  • version: The version of FVM to install. Default: latest.

Usage

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.

License

Licensed under the MIT License.

Setup Flutter Version Management CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Setup the Flutter Version Management CLI, and add it to the PATH
v1.0
Latest

Setup Flutter Version Management CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.