1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
image: openjdk:8 variables: MILL_CLI: "-D coursier.cache=$CI_PROJECT_DIR/.cache -j 0" cache: paths: - .cache/ test: script: - ./mill $MILL_CLI server.test package: script: - ./mill $MILL_CLI server.assembly artifacts: paths: - out/server/assembly/dest/*.jar when: on_success expire_in: never rules: - if: $CI_COMMIT_TAG