YesCheat/.gitlab-ci.yml

22 lines
357 B
YAML
Raw Normal View History

2021-06-11 14:25:00 +02:00
image: gradle:jdk16
2020-09-30 14:40:14 +02:00
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
deploy:
stage: deploy
2020-11-21 21:51:03 +01:00
script:
- gradle --build-cache assemble
- cp build/libs/* ./
- rm *-dev.jar
- mv *.jar latest.jar
2020-09-30 14:40:14 +02:00
artifacts:
paths:
- build/libs
2020-11-21 21:51:03 +01:00
- latest.jar
2020-09-30 14:40:14 +02:00
only:
- master