Skip to content

chore: update gradle #725

chore: update gradle

chore: update gradle #725

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build_apk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "21.x"
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- uses: actions/cache@v4
with:
path: /opt/hostedtoolcache/flutter
key: flutter-install-cache
- name: Setup Flutter
run: |
flutter config --no-analytics
flutter pub get
sh ./scripts/generate_code.sh
- name: Build APKs
run: flutter build apk --build-number $(printf '%(%Y%m%d)T\n' -1) --debug
- name: Upload build artifacts
uses: actions/[email protected]
with:
name: APK
path: ./build/app/outputs/apk/debug/app-debug.apk
retention-days: 30