Skip to content

offich/flutter-fvm-dart-sdk-action

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

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flutter-fvm-dart-sdk-action

An action that parses an FVM config file .fvmrc to get Dart SDK version followed by Flutter version.

Usage

You can assign an ID to each usage of this action and retrieve the Dart SDK version from its outputs.

    steps:
      - uses: actions/checkout@v4

      - uses: offich/flutter-fvm-dart-sdk-action@v1
        id: flutter-fvm-dart-sdk-version

      - name: Echo Dart SDK Version
        run: echo ${{ steps.flutter-fvm-dart-sdk-version.outputs.dart-version }}

Configuration inputs

All the sample options below can be combined with each other.

Custom config path

If you have a custom path for your .fvmrc file, you can set it with the path input.

    steps:
      - uses: actions/checkout@v4

      - uses: offich/flutter-fvm-dart-sdk-action@v1
        with:
          path: 'some-path/.fvmrc'

About

An action that parses an FVM config file .fvmrc to get Dart SDK version followed by Flutter version.

Resources

Stars

Watchers

Forks

Packages

No packages published