Specified android ndk version in build.gradle #65
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
name: Android | |
on: | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- uses: subosito/[email protected] | |
with: | |
channel: 'stable' | |
- name: Prepare | |
working-directory: apps/onyx | |
run: flutter pub get | |
- name: Build APK | |
working-directory: apps/onyx | |
run: flutter build apk --profile | |
- name: Build App Bundle | |
working-directory: apps/onyx | |
run: flutter build appbundle --profile |