Huge cleanup #374
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: Build Android | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Test connection | |
run: curl "https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json" | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Java environment | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
- name: Set up Flutter environment | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: Build APK and App Bundle | |
run: | | |
flutter pub get | |
dart analyze | |
flutter build apk --debug | |
flutter build appbundle --debug |