This is an automated email from the ASF dual-hosted git repository.
fcsaky pushed a commit to branch ci_utils
in repository
https://gitbox.apache.org/repos/asf/flink-connector-shared-utils.git
The following commit(s) were added to refs/heads/ci_utils by this push:
new 968115d [hotfix] Update CI for Flink Connector Parent POM 2.0
compatibility
968115d is described below
commit 968115d7810916c4361c2b78859e2e3befa4810e
Author: Thomas Cooper <[email protected]>
AuthorDate: Tue Mar 17 15:29:59 2026 +0000
[hotfix] Update CI for Flink Connector Parent POM 2.0 compatibility
---
.github/workflows/ci.yml | 12 ++++++++----
.github/workflows/python_ci.yml | 16 ++++++++++------
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c8c25c8..859d49d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -82,12 +82,12 @@ jobs:
- run: echo "Running CI pipeline for JDK version ${{ matrix.jdk }}"
- name: Check out repository code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: "${{ inputs.connector_branch }}"
- name: Set JDK
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
@@ -113,6 +113,10 @@ jobs:
if: ${{ inputs.optional_maven_profiles }}
run: echo "MVN_COMMON_OPTIONS=${MVN_COMMON_OPTIONS} -P ${{
inputs.optional_maven_profiles }}" >> $GITHUB_ENV
+ - name: "Set java11 compile target if required"
+ if: ${{ matrix.jdk == 11 }}
+ run: echo "MVN_COMMON_OPTIONS=${MVN_COMMON_OPTIONS} -P java11-target"
>> $GITHUB_ENV
+
- name: "Disable archunit tests"
if: ${{ inputs.skip_archunit_tests }}
run: echo
"MVN_ARCHUNIT_TESTS=-DadditionalExcludes=**/*ArchitectureTest.java" >>
$GITHUB_ENV
@@ -146,7 +150,7 @@ jobs:
- name: Restore cached Flink binary
if: ${{ env.cache_binary == 'true' }}
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
id: restore-cache-flink
with:
path: ${{ env.FLINK_CACHE_DIR }}
@@ -159,7 +163,7 @@ jobs:
- name: Cache Flink binary
if: ${{ env.cache_binary == 'true' }}
- uses: actions/cache/save@v4
+ uses: actions/cache/save@v5
id: cache-flink
with:
path: ${{ env.FLINK_CACHE_DIR }}
diff --git a/.github/workflows/python_ci.yml b/.github/workflows/python_ci.yml
index 5259375..4b9b5e0 100644
--- a/.github/workflows/python_ci.yml
+++ b/.github/workflows/python_ci.yml
@@ -58,21 +58,25 @@ jobs:
- run: echo "Running CI pipeline for JDK version ${{ matrix.jdk }}"
- name: Check out repository code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
ref: "${{ inputs.connector_branch }}"
- name: Set JDK
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
cache: maven
-
- - name: Set Maven 3.8.6
- uses: stCarolas/[email protected]
+
+ - name: Setup Maven with mvnw version or version 3.8.6
+ uses: stCarolas/setup-maven@v5
with:
- maven-version: 3.8.6
+ maven-version: ${{ env.MAVEN_VERSION || '3.8.6' }}
+
+ - name: "Set java11 compile target if required"
+ if: ${{ matrix.jdk == 11 }}
+ run: echo "MVN_COMMON_OPTIONS=${MVN_COMMON_OPTIONS} -P java11-target"
>> $GITHUB_ENV
- name: Compile
timeout-minutes: ${{ inputs.timeout_test }}