chore: merge v1 to main #117
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: Flutter | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
cache: true | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: "temurin" | |
- run: flutter pub get | |
- run: dart format --output=none --set-exit-if-changed . | |
- run: flutter analyze | |
- run: flutter test test/ | |
- name: Disable signing | |
run: sed -i -e '/signingConfig /d' android/app/build.gradle | |
- name: Build apk | |
run: flutter build apk --debug | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Apk | |
path: | | |
build/app/outputs/flutter-apk/app-debug.apk |