-
Notifications
You must be signed in to change notification settings - Fork 22
34 lines (34 loc) · 839 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI
on:
push:
branches:
- '**'
tags-ignore:
- 'v*'
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Bootstrap workspace
uses: ./.github/actions/bootstrap
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: gradle
- name: Run static analysis checks
run: melos lint
- name: Build Android APK (profile)
run: fvm flutter build apk --profile
- name: Upload APK (profile) artifact
uses: actions/upload-artifact@v4
with:
name: app-profile.apk
path: build/app/outputs/apk/profile/app-profile.apk