Skip to content
play

GitHub Action

Flutter ASDF config action

v0.3.0 Latest version

Flutter ASDF config action

play

Flutter ASDF config action

Action that parses an ASDF config file in order to configure the subosito/flutter-action

Installation

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

              

- name: Flutter ASDF config action

uses: utamori/[email protected]

Learn more about this action in utamori/flutter-asdf-config-action

Choose a version

flutter-asdf-config-action

An action that parses an ASDF config file into environment variables which can then be used to configure the flutter-action.

This action was created with reference to the Flutter FVM config actionavailable in the GitHub Marketplace.

Usage

Basic usage

    steps:
      - uses: actions/checkout@v3
      - uses: utamori/[email protected]
      - uses: subosito/flutter-action@v2
        with:
          flutter-version: ${{ env.FLUTTER_VERSION }}
          channel: ${{ env.FLUTTER_CHANNEL }}

Custom config path

    steps:
      - uses: actions/checkout@v3
      - uses: utamori/[email protected]
        with:
          path: 'some-path/.fvm/fvm_config.json'
      - uses: subosito/flutter-action@v2
        with:
          flutter-version: ${{ env.FLUTTER_VERSION }}
          channel: ${{ env.FLUTTER_CHANNEL }}