Skip to content

flutter-cli

Actions
The flutter CLI as a GitHub Action
v1.1.0
Latest
Star (40)

Github Action for Flutter CLI

This action provides flutter for Github Actions.

NOTE – THIS REPOSITORY IS ARCHIVED

Please use https://github.com/subosito/flutter-action instead, which is actively maintained and has more features.

Usage examples

This example first fetches the dependencies with flutter pub get and then builds an apk and runs the flutter tests in parallel.

.github/workflows/main.yml

on: push
name: build and test app
jobs:
  build:
    name: install dependencies
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1

    - name: install dependencies
      uses: steebchen/flutter@v1.1.0
      with:
        args: pub get

    - name: run tests
      uses: steebchen/flutter@v1.1.0
      with:
        args: test

    - name: build apk
      uses: steebchen/flutter@v1.1.0
      with:
        args: build apk --release

flutter-cli is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

The flutter CLI as a GitHub Action
v1.1.0
Latest

flutter-cli is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.