Skip to content
This repository was archived by the owner on Oct 13, 2020. It is now read-only.

takuchalle/setup-flutter

Repository files navigation

Actions Status

setup-flutter

This action sets up a flutter environment for use in actions by:

  • optionally downloading and caching a version of flutter by version and adding to PATH

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@v1
- uses: takuyaohashi/setup-flutter@v1
  with:
    flutter-version: 'latest'
    channel: 'stable'
- run: flutter test

Matrix Testing:

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        flutter: [ 'latest', 'v1.9.1+hotfix.6' ]
    steps:
    - uses: actions/checkout@v1
    - uses: takuyaohashi/setup-flutter@v1
      with: 
        flutter-version: ${{ matrix.flutter }}
        channel: 'stable'
    - name: test
      run: flutter test

License

The scripts and documentation in this project are released under the MIT License

About

Set up your GitHub Actions workflow with Flutter

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published