There was an error while loading. Please reload this page.
1 parent 091a261 commit c9a8b34Copy full SHA for c9a8b34
.github/workflows/mavenpublish.yml
@@ -37,5 +37,9 @@ jobs:
37
#sleep 10 # allow checkpoint to settle
38
#[ 137 = $(< exitcode) ]
39
- run: timeout 30 jdk/bin/java -Zcheckpoint:cr -jar target/spring-boot-0.0.1-SNAPSHOT.jar || [ $? = 137 ]
40
- - run: timeout 10 jdk/bin/java -Zrestore:cr || [ $? = 124 ]
+ - run: |
41
+ jdk/bin/java -Zrestore:cr &
42
+ sleep 3
43
+ curl localhost:8080 | grep "Greetings from Spring Boot!"
44
+ pkill -f spring-boot-0.0.1-SNAPSHOT.jar
45
0 commit comments