Skip to content

Instantly share code, notes, and snippets.

@tianhaoz95
Created October 12, 2019 07:18
Show Gist options
  • Save tianhaoz95/c78095d11ecd7bff8c714fd6c59a20e1 to your computer and use it in GitHub Desktop.
Save tianhaoz95/c78095d11ecd7bff8c714fd6c59a20e1 to your computer and use it in GitHub Desktop.
Build Flutter iOS app
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