chore(deps): bump org.jetbrains.kotlin.plugin.allopen from 2.0.21 to 2.1.0 in /backend #2410
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 |