Files
eatvio_app_old/.gitea/workflows/build.yml
apoloz 00c380d23f
All checks were successful
Android Release / build (push) Successful in 2m53s
ci(build): temporary remove build steps
2024-02-27 11:06:16 +00:00

50 lines
1.5 KiB
YAML

name: Android Release
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install jq
run: |
apt update
apt-get install -y jq
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "12.x"
cache: 'gradle'
- uses: actions/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.19.0'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
pub-cache-key: 'flutter-pub:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache of dart pub get dependencies
pub-cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
- run: |
flutter --version
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.19.0-x64
- name: Get dependencies
run: flutter pub get
- name: Run Code Metrics
run: flutter pub run dart_code_metrics:metrics --reporter=github lib
# - name: Build apk
# run: flutter build apk
# Runs a set of commands using the runners shell
# - name: Start release build
# run: flutter build appbundle