summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 93ee0b55fbee97fb7f07d98e3d0cba94812d5c20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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