From 721abda732a72008d3753e8163df95d4f4a27197 Mon Sep 17 00:00:00 2001 From: "Juan J. Martínez" Date: Fri, 9 Jul 2021 07:13:17 +0000 Subject: First stab at packaging --- .gitlab-ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38bec89..c43fa8c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,24 @@ image: openjdk:8 +stages: + - test + - package + +cache: + paths: + - .cache/ + test: + stage: test + script: + - ./mill -D ivy.home=.cache server.test + +package: + stage: package script: - - ./mill server.test + - ./mill server.assembly + artifacts: + paths: + - out/server/assembly/dest/*.jar + only: + - master -- cgit v1.2.3