mirror of
https://gitlab.com/Zer0interrupt/recipe-manager.git
synced 2026-11-01 23:24:11 -05:00
23 lines
517 B
YAML
23 lines
517 B
YAML
image: ghcr.io/cirruslabs/flutter:latest
|
|
|
|
stages:
|
|
- build
|
|
|
|
variables:
|
|
SECURE_FILES_DOWNLOAD_PATH: './'
|
|
|
|
build_android_apk:
|
|
stage: build
|
|
before_script:
|
|
- flutter doctor -v
|
|
script:
|
|
- cd mobile
|
|
- flutter pub get
|
|
- flutter build apk --release --android-skip-build-dependency-validation
|
|
artifacts:
|
|
name: "ForkFolio-Mobile-APK-$CI_COMMIT_SHORT_SHA"
|
|
paths:
|
|
- mobile/build/app/outputs/flutter-apk/app-release.apk
|
|
expire_in: 30 days
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == "main"
|