chore(deps): bump com.android.tools.build:gradle from 7.4.0-alpha02 to 8.7.0-beta01 in /mobile/android #2278
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: [ master ] | |
name: Mobile Build | |
jobs: | |
build: | |
name: Build and test APK | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'gradle' | |
- uses: subosito/flutter-action@v2.16.0 | |
with: | |
channel: 'stable' | |
flutter-version: '2.2.2' | |
- name: Get Flutter packages | |
run: | | |
cd mobile | |
flutter pub get | |
- name: Run Flutter tests | |
run: | | |
cd mobile | |
flutter test | |
- name: Build APK | |
run: | | |
cd mobile | |
flutter build apk --debug | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: APKs | |
path: mobile/build/app/outputs/flutter-apk/app-*.apk | |
retention-days: 1 |