2023-08-15 06:55:13 +00:00
|
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: docker
|
|
|
|
container:
|
2024-01-25 23:01:16 +00:00
|
|
|
image: ghcr.io/cirruslabs/flutter:3.16.9
|
2023-08-15 06:55:13 +00:00
|
|
|
steps:
|
|
|
|
- name: Prepare requirements
|
|
|
|
run: |
|
|
|
|
apt-get update
|
|
|
|
apt-get install -y nodejs npm git
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
flutter doctor
|
|
|
|
flutter pub get
|
|
|
|
flutter pub outdated
|
|
|
|
flutter packages pub run build_runner build --delete-conflicting-outputs
|
|
|
|
flutter analyze --no-pub --no-current-package lib/
|
|
|
|
flutter build apk --debug
|