From c2dad42da435176b3541a0574c90dfcf63d12756 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 3 Jan 2020 12:54:42 +0000 Subject: [PATCH] Add Ci task to build a debug app on branches that are not master and build a fdroid signed version only when building on master Took 5 minutes --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c280eca..8ac3fef9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,6 +41,19 @@ build_android_fdroid: when: on_success paths: - build/app/outputs/apk/release/app-release.apk + only: + - master + +build_android_debug: + stage: coverage + script: + - flutter build apk --debug + artifacts: + when: on_success + paths: + - build/app/outputs/apk/release/app-debug.apk + except: + - master pages: stage: publish