Update .gitlab-ci.yml file
This commit is contained in:
parent
21b2887d94
commit
5b65b1e7c5
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
image: gradle:latest
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- GRADLE_USER_HOME="$(pwd)/.gradle"
|
||||||
|
- export GRADLE_USER_HOME
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script: gradle --build-cache assemble
|
||||||
|
cache:
|
||||||
|
key: "$CI_COMMIT_REF_NAME"
|
||||||
|
policy: push
|
||||||
|
paths:
|
||||||
|
- build
|
||||||
|
- .gradle
|
Loading…
x
Reference in New Issue
Block a user