Break up CI steps and only build release (and not debug) in last steps

This commit is contained in:
tzugen 2021-08-26 11:27:54 +02:00
parent 9ea0246032
commit 7e82efddad
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 6 additions and 3 deletions

View File

@ -25,7 +25,7 @@ jobs:
name: static analysis
command: ./gradlew -Pqc detekt
- run:
name: build
name: build debug
command: ./gradlew assembleDebug
- run:
name: unit-tests
@ -36,8 +36,11 @@ jobs:
name: lint
command: ./gradlew :ultrasonic:lintRelease
- run:
name: assemble release build
command: ./gradlew build assembleRelease
name: build
command: ./gradlew buildRelease
- run:
name: assemble release
command: ./gradlew assembleRelease
- save_cache:
paths:
- ~/.gradle