Update .gitlab-ci.yml

This commit is contained in:
jas35484
2022-01-16 18:39:31 -06:00
parent addeccd761
commit a63131b153
+12 -11
View File
@@ -18,24 +18,25 @@ variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
- export GRADLE_USER_HOME=`pwd`
build:
stage: build
script: ./gradlew.bat build
script: ./gradlew build
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- build
- .gradle
- .
test:
stage: test
script: gradle check
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- build
- .gradle
#test:
# stage: test
# script: gradle check
# cache:
# key: "$CI_COMMIT_REF_NAME"
# policy: pull
# paths:
# - build
# - .gradle