mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-24 03:05:56 +01:00
23 lines
430 B
YAML
23 lines
430 B
YAML
image: gradle:alpine
|
|
|
|
variables:
|
|
name: "FabledSkyBlock"
|
|
path: "/builds/$CI_PROJECT_PATH"
|
|
version: "2.0.5"
|
|
|
|
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
|