Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
package

GitHub Action

Setup FlutterGen

v1.0.0

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/[email protected]

Learn more about this action in FlutterGen/setup-fluttergen

Choose a version

setup-fluttergen

Install fluttergen command in GitHub Actions.

Usage

- uses: FluttterGen/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