File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -39,20 +39,22 @@ jobs:
39
39
restore-keys : |
40
40
${{ runner.os }}-maven-
41
41
42
- - run : mvn -B package
42
+ - run : ./mvnw -B package
43
43
44
44
- name : Test on Vanila JDK
45
45
run : |
46
46
P=$(utils/start-bg.sh \
47
47
-s "Started Application" \
48
- java -jar target/spring-boot-initial -0.0.1-SNAPSHOT.jar)
48
+ java -jar target/example- spring-boot-0.0.1-SNAPSHOT.jar)
49
49
curl localhost:8080 | grep "Greetings from Spring Boot!"
50
50
utils/bench.sh http://localhost:8080
51
51
kill $P
52
52
53
53
- name : Download JDK
54
54
run : |
55
- archive=$(utils/download-jdk.sh)
55
+ url=https://cdn.azul.com/zulu/bin/zulu17.44.17-ca-crac-jdk17.0.8-linux_x64.tar.gz
56
+ archive=${url##*/}
57
+ curl -LO $url
56
58
sudo tar -axf $archive
57
59
echo JDK=${archive%%.tar.gz} >> $GITHUB_ENV
58
60
67
69
-XX:+CRTraceStartupTime \
68
70
-Djdk.crac.trace-startup-time=true \
69
71
--add-opens java.base/java.lang=ALL-UNNAMED \
70
- -jar target/spring-boot-initial -0.0.1-SNAPSHOT.jar)
72
+ -jar target/example- spring-boot-0.0.1-SNAPSHOT.jar)
71
73
72
74
# warmup the service
73
75
utils/bench.sh http://localhost:8080
You can’t perform that action at this time.
0 commit comments