Skip to content

Commit af41972

Browse files
committed
Sourcing SDKMAN for mvn build also.
1 parent cf7c4ca commit af41972

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/native-image-compile.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
mvn --version
3737
3838
- name: Run GraalVM Native Image compilation of Spring Boot App (Maven version instead of ./compile.sh)
39-
run: mvn -B clean package -P native --no-transfer-progress
39+
run: |
40+
source "$HOME/.sdkman/bin/sdkman-init.sh"
41+
mvn -B clean package -P native --no-transfer-progress
4042
4143
native-image-compile-in-docker:
4244
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)