File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,10 @@ jobs:
1010 runs-on : ubuntu-22.04
1111 steps :
1212 - uses : actions/checkout@v5
13- - name : Set up JDK 1.8
14- uses : actions/setup-java@v5
13+ - name : Set up JDK 11
14+ uses : actions/setup-java@v1
1515 with :
16- distribution : temurin
17- java-version : 8
16+ java-version : 11
1817 - name : Install and start Elasticsearch
1918 env :
2019 ES_DOWNLOAD_URL : https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${{ env.ES_VERSION }}.tar.gz
Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ case $ACTION in
3434 if [ -f target/universal/stage/RUNNING_PID ]; then
3535 kill $( cat target/universal/stage/RUNNING_PID)
3636 fi
37- JAVA_OPTS=" $JAVA_OPTS -XX:+ExitOnOutOfMemoryError" sbt --java-home $JAVA_HOME " start $PORT "
37+ sbt clean
38+ sbt --java-home $JAVA_HOME stage
39+ JAVA_OPTS=" $JAVA_OPTS -XX:+ExitOnOutOfMemoryError" ./target/universal/stage/bin/lobid-gnd -Dhttp.port=$PORT
3840 ;;
3941 stop)
4042 if [ -f target/universal/stage/RUNNING_PID ]; then
You can’t perform that action at this time.
0 commit comments