diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1ea2f62ca..43643ef9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,12 @@ prepare: stage: prepare script: - ./gradlew tasks + cache: + key: "$CI_COMMIT_SHA" + paths: + - app/build/outputs/ + - .gradle/ + policy: push assembleDebug: stage: build @@ -25,7 +31,6 @@ assembleDebug: paths: - app/build/outputs/ - .gradle/ - policy: push lintDebug: stage: test