Skip to content

Instantly share code, notes, and snippets.

@TetsuFe
Last active May 2, 2020 17:09
Show Gist options
  • Save TetsuFe/fcfbd2731ee0577289f625687297bd18 to your computer and use it in GitHub Desktop.
Save TetsuFe/fcfbd2731ee0577289f625687297bd18 to your computer and use it in GitHub Desktop.
# badge: ![Flutter CI](https://github.com/<username>/<repo>/workflows/Flutter%20CI/badge.svg)
name: Flutter CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
my-job:
name: My Job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable' # or: 'dev', 'beta', etc
- run: flutter pub get
- run: flutter analyze
- run: flutter test
- run: flutter build apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment