Skip to content

Commit 112699f

Browse files
committed
set maven env
1 parent d754713 commit 112699f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,15 @@ jobs:
6969
with:
7070
java-version: 11
7171
distribution: temurin
72-
- name: "Set jvm system property environment variable for surefire plugin (unit tests)"
72+
- name: "Set Java system property environment variable for surefire plugin (unit tests)"
7373
# Maven surefire plugin (unit tests) allows us to specify JVM to run the tests.
7474
# https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm
7575
# run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
7676
run: echo "JAVA=${JAVA_HOME}\bin\java" >> $GITHUB_ENV
7777
shell: bash
78+
- name: "Set jvm system property environment variable for surefire plugin (unit tests)"
79+
run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
80+
shell: bash
7881
- uses: actions/setup-java@v4
7982
with:
8083
distribution: temurin

0 commit comments

Comments
 (0)