Skip to content

Setup Flutter Version Management: A simple CLI to manage Flutter SDK versions.

License

Notifications You must be signed in to change notification settings

flutter-actions/setup-fvm

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Setup Flutter Version Management: A simple CLI to manage Flutter SDK versions.

Resources

License

Stars

Watchers

Forks

Languages