Skip to content
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

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-fvm

Set up Flutter SDK using FVM and cache them. In detail, this action performs the following tasks:

  • Installs FVM
  • Installs Flutter SDK and run fvm flutter pub get --enforce-lockfile
  • Caches the Flutter SDK and Pub packages (can be disabled)

Even if the job using this action fails, the cache will always be saved as long as this action itself succeeds.

Usage

# ...
jobs:
  foo:
    # ...
    steps:
      - uses: actions/checkout@v6

      - name: Initialize Flutter SDK
        uses: chika3742/setup-fvm@v3
        with:
          project-dir: . # default
          cache: true # default

      - run: fvm flutter --version

Inputs

project-dir

Optional Path to the Flutter project root directory. Defaults to ..

cache

Optional Cache Flutter SDK and Pub packages. Defaults to true.

About

All-in-one Flutter environment initialization using FVM

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages