Skip to content

Commit b9fa49a

Browse files
authored
Use Java 17 for Debezium IO #34747 (#34751)
* Use Java 17 for Debezium IO #34747 * update CHANGES.md * adjust PreCommit Workflow Use Java 11 not 8 as fallback, according to review by @Abacn * Revert CHANGES.md
1 parent 0dd5dd3 commit b9fa49a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/beam_PreCommit_Java_Debezium_IO_Direct.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,19 @@ jobs:
8585
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
8686
- name: Setup environment
8787
uses: ./.github/actions/setup-environment-action
88+
with:
89+
java-version: |
90+
17
91+
11
8892
- name: run Debezium IO build task
8993
uses: ./.github/actions/gradle-command-self-hosted-action
9094
with:
9195
gradle-command: :sdks:java:io:debezium:build
9296
arguments: |
9397
-PdisableSpotlessCheck=true \
9498
-PdisableCheckStyle=true \
99+
-PtestJavaVersion=17 \
100+
-Pjava17Home=$JAVA_HOME_17_X64 \
95101
- name: run Debezium IO additional tasks
96102
uses: ./.github/actions/gradle-command-self-hosted-action
97103
with:
@@ -101,6 +107,8 @@ jobs:
101107
arguments: |
102108
-PdisableSpotlessCheck=true \
103109
-PdisableCheckStyle=true \
110+
-PtestJavaVersion=17 \
111+
-Pjava17Home=$JAVA_HOME_17_X64 \
104112
- name: Archive JUnit Test Results
105113
uses: actions/upload-artifact@v4
106114
if: ${{ !success() }}
@@ -126,4 +134,4 @@ jobs:
126134
if: always()
127135
with:
128136
name: Publish SpotBugs
129-
path: '**/build/reports/spotbugs/*.html'
137+
path: '**/build/reports/spotbugs/*.html'

0 commit comments

Comments
 (0)