Translater/.gitlab-ci.yml

28 lines
491 B
YAML
Raw Normal View History

2021-05-19 16:03:59 +02:00
image: gradle:jdk16
2020-07-10 20:50:50 +02:00
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
build_test:
2020-07-10 20:50:50 +02:00
stage: deploy
script:
- gradle --build-cache assemble
- cp build/libs/* ./
- rm *-dev.jar
- mv *.jar latest.jar
2020-07-10 20:50:50 +02:00
artifacts:
paths:
- build/libs
- latest.jar
2020-07-10 20:50:50 +02:00
only:
- master
deploy:
stage: deploy
when: manual
script:
- gradle --build-cache publishModrinth
- gradle --build-cache curseforge