FabledSkyBlock/.gitlab-ci.yml
2019-09-09 22:08:20 +01:00

23 lines
435 B
YAML

image: gradle:alpine
variables:
name: "FabledSkyBlock"
path: "/builds/$CI_PROJECT_PATH"
version: "Build-79.1"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
stages:
- build
build:
stage: build
script:
- find $path/ -type f -name "*.gradle" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
- gradle build
- mv $path/build/libs/*.jar $path/
artifacts:
paths:
- $path/*.jar