Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.41 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.41 KB

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.