This is an automated email from the ASF dual-hosted git repository.

derrickaw pushed a commit to branch 20260611_upgradeExponsionJarToJava17
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 168077ae91429e064ee6ab7b16214def633b7c15
Author: Derrick Williams <[email protected]>
AuthorDate: Tue Jun 16 13:30:49 2026 +0000

    fixing xlang issue
---
 .github/actions/setup-environment-action/action.yml             | 2 +-
 .github/workflows/beam_PostCommit_Python_Xlang_Gcp_Dataflow.yml | 3 +++
 .github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml   | 3 +++
 .github/workflows/beam_PostCommit_Python_Xlang_IO_Dataflow.yml  | 3 +++
 .github/workflows/beam_PostCommit_Python_Xlang_IO_Direct.yml    | 3 +++
 .github/workflows/beam_PostCommit_Yaml_Xlang_Direct.yml         | 4 +++-
 .github/workflows/beam_PreCommit_Xlang_Generated_Transforms.yml | 4 +++-
 .github/workflows/beam_PreCommit_Yaml_Xlang_Direct.yml          | 3 +++
 8 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/.github/actions/setup-environment-action/action.yml 
b/.github/actions/setup-environment-action/action.yml
index daa3daa1cd5..06633c6c727 100644
--- a/.github/actions/setup-environment-action/action.yml
+++ b/.github/actions/setup-environment-action/action.yml
@@ -74,7 +74,7 @@ runs:
       uses: actions/setup-java@v3
       with:
         distribution: 'temurin'
-        java-version: ${{ inputs.java-version == 'default' && 
((contains(github.job, 'Xlang') || contains(github.job, 'XVR') || 
contains(github.job, 'PreCommit_Java')) && '17' || '11') || inputs.java-version 
}}
+        java-version: ${{ inputs.java-version == 'default' && '11' || 
inputs.java-version }}
     - name: Setup Gradle
       uses: 
gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
       with:
diff --git a/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Dataflow.yml 
b/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Dataflow.yml
index 01997b22515..03243fcf9c7 100644
--- a/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Dataflow.yml
+++ b/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Dataflow.yml
@@ -74,6 +74,9 @@ jobs:
       - name: Setup environment
         uses: ./.github/actions/setup-environment-action
         with:
+          java-version: |
+            17
+            11
           python-version: |
             3.10
             3.14
diff --git a/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml 
b/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml
index e4a71ee8edd..dc19bb570ab 100644
--- a/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml
+++ b/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml
@@ -74,6 +74,9 @@ jobs:
       - name: Setup environment
         uses: ./.github/actions/setup-environment-action
         with:
+          java-version: |
+            17
+            11
           python-version: |
             3.10
             3.14
diff --git a/.github/workflows/beam_PostCommit_Python_Xlang_IO_Dataflow.yml 
b/.github/workflows/beam_PostCommit_Python_Xlang_IO_Dataflow.yml
index 832db23a73f..902c2a7238d 100644
--- a/.github/workflows/beam_PostCommit_Python_Xlang_IO_Dataflow.yml
+++ b/.github/workflows/beam_PostCommit_Python_Xlang_IO_Dataflow.yml
@@ -73,6 +73,9 @@ jobs:
       - name: Setup environment
         uses: ./.github/actions/setup-environment-action
         with:
+          java-version: |
+            17
+            11
           python-version: |
             3.10
             3.14
diff --git a/.github/workflows/beam_PostCommit_Python_Xlang_IO_Direct.yml 
b/.github/workflows/beam_PostCommit_Python_Xlang_IO_Direct.yml
index bb3198f83d2..515680d541c 100644
--- a/.github/workflows/beam_PostCommit_Python_Xlang_IO_Direct.yml
+++ b/.github/workflows/beam_PostCommit_Python_Xlang_IO_Direct.yml
@@ -73,6 +73,9 @@ jobs:
       - name: Setup environment
         uses: ./.github/actions/setup-environment-action
         with:
+          java-version: |
+            17
+            11
           python-version: |
             3.10
             3.14
diff --git a/.github/workflows/beam_PostCommit_Yaml_Xlang_Direct.yml 
b/.github/workflows/beam_PostCommit_Yaml_Xlang_Direct.yml
index 9598b19ebbe..7b9b6e3acc4 100644
--- a/.github/workflows/beam_PostCommit_Yaml_Xlang_Direct.yml
+++ b/.github/workflows/beam_PostCommit_Yaml_Xlang_Direct.yml
@@ -74,7 +74,9 @@ jobs:
         uses: ./.github/actions/setup-environment-action
         with:
           python-version: default
-          java-version: '11'
+          java-version: |
+            17
+            11
       - name: Set up Cloud SDK
         uses: 
google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
       - name: run PostCommit Yaml Xlang Direct script
diff --git a/.github/workflows/beam_PreCommit_Xlang_Generated_Transforms.yml 
b/.github/workflows/beam_PreCommit_Xlang_Generated_Transforms.yml
index 1dfab40f552..7bc4ab92e5b 100644
--- a/.github/workflows/beam_PreCommit_Xlang_Generated_Transforms.yml
+++ b/.github/workflows/beam_PreCommit_Xlang_Generated_Transforms.yml
@@ -102,7 +102,9 @@ jobs:
       - name: Setup environment
         uses: ./.github/actions/setup-environment-action
         with:
-          java-version: '17'
+          java-version: |
+            17
+            11
           python-version: ${{ matrix.python_version }}
       - name: Set PY_VER_CLEAN
         id: set_py_ver_clean
diff --git a/.github/workflows/beam_PreCommit_Yaml_Xlang_Direct.yml 
b/.github/workflows/beam_PreCommit_Yaml_Xlang_Direct.yml
index 21281b8cd3e..249b7d45ae8 100644
--- a/.github/workflows/beam_PreCommit_Yaml_Xlang_Direct.yml
+++ b/.github/workflows/beam_PreCommit_Yaml_Xlang_Direct.yml
@@ -87,6 +87,9 @@ jobs:
       - name: Setup environment
         uses: ./.github/actions/setup-environment-action
         with:
+          java-version: |
+            17
+            11
           python-version: default
       - name: run PreCommit Yaml Xlang Direct script
         uses: ./.github/actions/gradle-command-self-hosted-action

Reply via email to