Last active
May 2, 2020 17:09
-
-
Save TetsuFe/fcfbd2731ee0577289f625687297bd18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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