Release uberjar
This commit is contained in:
parent
7fb02e32ed
commit
fd833204f3
1 changed files with 10 additions and 12 deletions
|
|
@ -34,18 +34,6 @@ jobs:
|
||||||
name: Install lsof
|
name: Install lsof
|
||||||
command: |
|
command: |
|
||||||
sudo apt-get install lsof
|
sudo apt-get install lsof
|
||||||
# - run:
|
|
||||||
# name: Download GraalVM
|
|
||||||
# command: |
|
|
||||||
# cd ~
|
|
||||||
# if ! [ -d graalvm-ce-java8-19.3.0 ]; then
|
|
||||||
# curl -O -sL https://github.com/oracle/graal/releases/download/vm-19.2.0/graalvm-ce-linux-amd64-19.2.0.tar.gz
|
|
||||||
# tar xzf graalvm-ce-linux-amd64-19.2.0.tar.gz
|
|
||||||
# fi
|
|
||||||
# - run:
|
|
||||||
# name: Install GraalVM SSL libs
|
|
||||||
# command: |
|
|
||||||
# .circleci/script/graalvm_ssl
|
|
||||||
- run:
|
- run:
|
||||||
name: Run JVM tests
|
name: Run JVM tests
|
||||||
command: |
|
command: |
|
||||||
|
|
@ -58,6 +46,16 @@ jobs:
|
||||||
name: Run as lein command
|
name: Run as lein command
|
||||||
command: |
|
command: |
|
||||||
.circleci/script/lein
|
.circleci/script/lein
|
||||||
|
- run:
|
||||||
|
name: Create uberjar
|
||||||
|
command: |
|
||||||
|
mkdir -p /tmp/release
|
||||||
|
lein do clean, uberjar
|
||||||
|
VERSION=$(cat resources/BABASHKA_VERSION)
|
||||||
|
cp target/babashka-$VERSION-standalone.jar /tmp/release
|
||||||
|
- store_artifacts:
|
||||||
|
path: /tmp/release
|
||||||
|
destination: release
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- ~/.m2
|
- ~/.m2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue