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