Change cache rules

This commit is contained in:
Kirill Kamakin
2021-11-13 18:11:36 +03:00
parent eb75500d2d
commit af946f0a31

View File

@@ -1,16 +1,13 @@
image: runmymind/docker-android-sdk:ubuntu-standalone image: runmymind/docker-android-sdk:ubuntu-standalone
before_script: before_script:
# Shouldn't be necessary, but just to be sure
- chmod +x ./gradlew
# Ask gradle to put everything to .gradle dir so that we can cache it # Ask gradle to put everything to .gradle dir so that we can cache it
- export GRADLE_USER_HOME=`pwd`/.gradle - export GRADLE_USER_HOME=`pwd`/.gradle
cache: cache:
key: "mealie-android" key: "mealie-android"
paths: paths:
- .gradle/wrapper - .gradle
- .gradle/caches
stages: stages:
- lint - lint