Skip to content

Commit 08eba48

Browse files
committed
[#1972] Print Hibernate ORM version used during build on CI
1 parent c7ade5b commit 08eba48

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ jobs:
8686
with:
8787
distribution: 'temurin'
8888
java-version: 11
89+
- name: Print the effective ORM version used
90+
run: ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
8991
- name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
9092
run: ./gradlew :${{ matrix.example }}:runAllExamplesOn${{ matrix.db }}
9193
- name: Upload reports (if build failed)
@@ -123,6 +125,8 @@ jobs:
123125
with:
124126
distribution: 'temurin'
125127
java-version: 11
128+
- name: Print the effective ORM version used
129+
run: ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
126130
- name: Build and Test with ${{ matrix.db }}
127131
run: ./gradlew build -PshowStandardOutput -Pdocker -Pdb=${{ matrix.db }}
128132
- name: Upload reports (if build failed)
@@ -201,6 +205,8 @@ jobs:
201205
- name: Display exact version of JDK ${{ matrix.java.name }}
202206
run: |
203207
${{ steps.testjdk-exportpath.outputs.path }}/bin/java -version
208+
- name: Print the effective ORM version used
209+
run: ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
204210
- name: Build and Test with Java ${{ matrix.java.name }}
205211
run: |
206212
./gradlew build -PshowStandardOutput -Pdocker -Ptest.jdk.version=${{ matrix.java.java_version_numeric }} \

0 commit comments

Comments
 (0)