Files
eatvio_app/.gitea/workflows/build.yml
2024-02-27 11:37:46 +03:00

38 lines
750 B
YAML

name: Android Release
# 1
on: [push, pull_request]
# 4
jobs:
# 5
build:
# 6
runs-on: ubuntu-latest
# 7
steps:
# 8
- uses: actions/checkout@v3
# 9
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "12.x"
# 10
- uses: subosito/flutter-action@v2
with:
# 11
flutter-version: "3.0.0"
channel: "stable"
# 12
- name: Get dependencies
run: flutter pub Get
- name: Run Code Metrics
run: flutter pub run dart_code_metrics:metrics --reporter=github lib
# Runs a set of commands using the runners shell
- name: Start release build
run: flutter build appbundle