Update build workflow to include iOS and Android builds #2
Workflow file for this run
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 IOS & Android" | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- dev | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
- run: flutter --version | |
- name: Flutter analyze | |
run: flutter analyze | |
- name: Get dependencies | |
run: flutter pub get | |
- name: Build IOS | |
run: flutter build ios --release --no-codesign | |
- name: Build Android | |
run: flutter build apk --release |