File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed
Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ jobs:
1010
1111 steps :
1212 - uses : actions/checkout@v2
13- - name : Set up JDK 1.8
14- uses : actions/setup-java@v1
13+ - name : Set up JDK 11
14+ uses : actions/setup-java@v5
1515 with :
16- java-version : 1.8
16+ distribution : temurin
17+ java-version : 11
1718 - name : Run tests
1819 run : sbt "test-only tests.CITests"
1920
Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ See the `.github/workflows/build.yml` file for details on the CI config used by
88
99## Setup
1010
11- Prerequisite: Java 8
11+ Prerequisite: Java 11
1212
13- ` git clone https://github.com/hbz/nwbib.git ; cd nwbib ` \
14- ` wget http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip ` \
15- ` unzip typesafe-activator-1.2.10-minimal.zip ` \
16- ` ./activator-1.2.10-minimal/activator test `
13+ - ` git clone https://github.com/hbz/nwbib.git ; cd nwbib ` \
14+ - ` sbt clean `
15+ - ` sbt test `
16+
17+ See the ` .github/workflows/build.yml ` file for details on the CI config used by Github Actions.
1718
1819### Eclipse setup
1920
Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ case $ACTION in
3434 kill $( cat target/universal/stage/RUNNING_PID)
3535 rm target/universal/stage/RUNNING_PID
3636 fi
37- JAVA_OPTS=" $JAVA_OPTS -XX:+ExitOnOutOfMemoryError" $HOME /activator-dist-1.3.5/activator " start $PORT "
37+ sbt clean
38+ sbt --java-home $JAVA_HOME stage
39+ JAVA_OPTS=" $JAVA_OPTS -XX:+ExitOnOutOfMemoryError" ./target/universal/stage/bin/nwbib -Dhttp.port=$PORT
3840 ;;
3941 stop)
4042 kill $( cat target/universal/stage/RUNNING_PID)
You can’t perform that action at this time.
0 commit comments