Skip to content

Commit 39be3de

Browse files
authored
Update GHA (#6)
1 parent d0e01fb commit 39be3de

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/mavenpublish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,22 @@ jobs:
3939
restore-keys: |
4040
${{ runner.os }}-maven-
4141
42-
- run: mvn -B package
42+
- run: ./mvnw -B package
4343

4444
- name: Test on Vanila JDK
4545
run: |
4646
P=$(utils/start-bg.sh \
4747
-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)
4949
curl localhost:8080 | grep "Greetings from Spring Boot!"
5050
utils/bench.sh http://localhost:8080
5151
kill $P
5252
5353
- name: Download JDK
5454
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
5658
sudo tar -axf $archive
5759
echo JDK=${archive%%.tar.gz} >> $GITHUB_ENV
5860
@@ -67,7 +69,7 @@ jobs:
6769
-XX:+CRTraceStartupTime \
6870
-Djdk.crac.trace-startup-time=true \
6971
--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)
7173
7274
# warmup the service
7375
utils/bench.sh http://localhost:8080

0 commit comments

Comments
 (0)