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

vterentev pushed a commit to branch release-2.66-javadoc
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/release-2.66-javadoc by this 
push:
     new 69e4fc20c68 Do not require Java 11
69e4fc20c68 is described below

commit 69e4fc20c6846873bd8c22ada5d2190c5744ccc4
Author: Vitaly Terentyev <[email protected]>
AuthorDate: Thu Jul 3 21:36:16 2025 +0400

    Do not require Java 11
---
 .github/workflows/build_release_candidate.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_release_candidate.yml 
b/.github/workflows/build_release_candidate.yml
index 0131b1364d2..a09f760a3d3 100644
--- a/.github/workflows/build_release_candidate.yml
+++ b/.github/workflows/build_release_candidate.yml
@@ -317,11 +317,15 @@ jobs:
           path: beam-site
           token: ${{ github.event.inputs.REPO_TOKEN }}
           ref: release-docs
-      - name: Install Java 11
+      - name: Install Java 8
         uses: actions/setup-java@v4
         with:
           distribution: 'temurin'
-          java-version: '11'
+          java-version: '8'
+      - name: Modify Gradle file
+        run: |
+          sed -i 's/requireJavaVersion: JavaVersion.VERSION_11//g' 
${BEAM_ROOT_DIR}/sdks/java/container/agent/build.gradle
+          sed -i 's/publish: false,/publish: false/g' 
${BEAM_ROOT_DIR}/sdks/java/container/agent/build.gradle
       - name: Remove default github maven configuration
         # This step is a workaround to avoid a decryption issue of Beam's
         # net.linguica.gradle.maven.settings plugin and github's provided maven

Reply via email to