Created
October 12, 2019 07:18
-
-
Save tianhaoz95/c78095d11ecd7bff8c714fd6c59a20e1 to your computer and use it in GitHub Desktop.
Build Flutter iOS app
This file contains hidden or 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
| name: Android build check | |
| on: [push, pull_request] | |
| jobs: | |
| build-Android: | |
| name: Build Android apk | |
| 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: | |
| flutter-version: '1.9.1+hotfix.4' | |
| channel: 'stable' | |
| - name: Upgrade flutter | |
| run: | | |
| flutter channel master | |
| flutter upgrade | |
| - name: Build apk package | |
| run: | | |
| cd ./rock_paper_scissors | |
| flutter build apk --release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment