-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update build workflow to include iOS and Android builds
- Loading branch information
1 parent
7f87a65
commit 5087f09
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Build iOS & Android" | ||
|
||
on: | ||
push: | ||
branches: | ||
- test | ||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: "3.24.0" | ||
channel: "stable" | ||
|
||
- name: flutter doctor | ||
run: flutter doctor --verbose | ||
|
||
- name: Check Java and environment | ||
run: | | ||
java -version | ||
echo $JAVA_HOME | ||
which java | ||
- name: Get dependencies | ||
run: flutter pub get | ||
|
||
- name: Build Android APK | ||
run: flutter build apk --release |