Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jstriebel authored Oct 27, 2022
1 parent bcfa6c0 commit 6c63996
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,22 @@ jobs:
TARGET_DIR: target/scala-2.12
steps:
- checkout

- run:
name: Prepare dependency folders
command: mkdir -p ~/.m2 ~/.ivy2 ~/.sbt

- restore_cache:
key: cache-{{ .Branch }}

- run:
name: Build server
command: docker-compose run -T -e CI=$CI sbt sbt assembly

- run:
name: Get FossilDB version
command: docker-compose run sbt java -jar $TARGET_DIR/fossildb.jar --version > $TARGET_DIR/version
command: docker-compose run -T sbt java -jar $TARGET_DIR/fossildb.jar --version > $TARGET_DIR/version

- save_cache:
key: cache-{{ .Branch }}
paths:
Expand Down Expand Up @@ -69,6 +73,7 @@ jobs:
- run:
name: Show version
command: cat $TARGET_DIR/version

- run:
name: Release JAR on Github
command: |
Expand Down

0 comments on commit 6c63996

Please sign in to comment.