Commit 1a0cba75 authored by Martin Lange's avatar Martin Lange
Browse files

change CI script to use gradle wrapper and openjdk image

parent 1bc4bc28
Pipeline #12316 passed with stage
in 17 seconds
image: gradle:6.7.1-jdk15 image: openjdk:15-jdk
variables: variables:
YARNER_VERSION: 0.1.4 YARNER_VERSION: 0.1.4
before_script: before_script:
- wget -O- https://github.com/mlange-42/yarner/releases/download/${YARNER_VERSION}/yarner-${YARNER_VERSION}-linux.tar.gz | tar xz - curl -L -o- https://github.com/mlange-42/yarner/releases/download/${YARNER_VERSION}/yarner-${YARNER_VERSION}-linux.tar.gz | tar xz
- export PATH="$PWD/yarner:$PATH" - export PATH="$PWD/yarner:$PATH"
build: build:
script: script:
- yarner - yarner
- cd code - cd code
- gradle build - ./gradlew build
- mv build/distributions/*.zip .. - mv build/distributions/*.zip ..
- rm -rf .gradle build - rm -rf .gradle build
artifacts: artifacts:
......
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment