Skip to content

Commit dd69756

Browse files
authored
[hotfix][ci] Fix ci failure in new GitHub runner images (#3645)
Signed-off-by: yuxiqian <34335406+yuxiqian@users.noreply.github.com>
1 parent e825131 commit dd69756

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/flink_cdc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
uses: ruby/setup-ruby@v1
4848
with:
4949
ruby-version: '3.3'
50+
- name: Set JDK
51+
uses: actions/setup-java@v4
52+
with:
53+
java-version: '8'
54+
distribution: 'temurin'
55+
cache: 'maven'
5056
- name: Compiling jar packages
5157
run: mvn --no-snapshot-updates -B package -DskipTests
5258
- name: Run license check

.github/workflows/flink_cdc_migration_test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
uses: actions/checkout@v4
2727
with:
2828
submodules: true
29+
- uses: actions/setup-java@v4
30+
with:
31+
java-version: 8
32+
distribution: temurin
2933
- name: Compile snapshot CDC version
3034
run: mvn --no-snapshot-updates -B install -DskipTests
3135
- name: Run migration tests

0 commit comments

Comments
 (0)