Skip to content
package

GitHub Action

Setup FlutterGen

v1.0.1 Latest version

Setup FlutterGen

package

Setup FlutterGen

Set up FlutterGen CLI in your GitHub Actions workflow

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup FlutterGen

uses: FlutterGen/setup-fluttergen@v1.0.1

Learn more about this action in FlutterGen/setup-fluttergen

Choose a version

setup-fluttergen

Install fluttergen command in GitHub Actions.

Usage

- uses: FlutterGen/setup-fluttergen@v1
  with:
    version: 5.6.0

Inputs

Name Description Required Default
version FlutterGen version (optional, will be detected from project root .tool-versions or .mise.toml if not provided) false -
cache Cache FlutterGen CLI false true
cache-key Cache key for FlutterGen CLI false fluttergen-${{ runner.os }}-${{ runner.arch }}-${{ version }}
cache-path Cache path for FlutterGen CLI false ${{ runner.tool_cache }}/.fluttergen

Outputs

Name Description
version Installed FlutterGen version