image: openjdk:8 stages: - test - release cache: paths: - .cache/ test: stage: test script: - ./mill -D ivy.default.ivy.user.dir=.cache server.test package: stage: release script: - ./mill -D ivy.default.ivy.user.dir=.cache server.assembly artifacts: paths: - out/server/assembly/dest/*.jar when: on_success expire_in: never only: - master rules: - if: $CI_COMMIT_TAG