Skip to content

Commit bbb7178

Browse files
yrodiereDavideD
authored andcommitted
Display the JDK version in logs when testing various JDKs
1 parent 935cd7e commit bbb7178

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ jobs:
187187
- name: Export path to JDK 8
188188
id: mainjdk-exportpath
189189
run: echo "::set-output name=path::${JAVA_HOME}"
190+
- name: Display exact version of JDK ${{ matrix.java.name }}
191+
run: |
192+
${{ steps.testjdk-exportpath.outputs.path }}/bin/java -version
190193
- name: Build and Test with Java ${{ matrix.java.name }}
191194
run: |
192195
./gradlew build -PshowStandardOutput -Pdocker -Ptest.jdk.version=${{ matrix.java.java_version_numeric }} \

0 commit comments

Comments
 (0)