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

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit eeed46f137e21f25845f575541eff25709e749dc
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Mon Oct 19 15:46:21 2026 +0200

    CAMEL-22996: Update GitHub Actions CI workflows to use Java 21
    
    Camel core now requires Java 21 as the minimum (apache/camel#27943).
    Update all CI workflow files that referenced Java 17:
    
    - pr-build-main.yml: replace '17' with '21' in the build matrix so PR
      builds are validated on Java 21 and Java 25 (EA) instead of 17 and 25.
    - generate-sbom-main.yml: bump the java-version pin from 17 to 21.
    - automatic-sync-main.yml: bump the java-version pin from 17 to 21.
    
    Co-authored-by: IBM Bob 2.2.1
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .github/workflows/automatic-sync-main.yml | 2 +-
 .github/workflows/generate-sbom-main.yml  | 2 +-
 .github/workflows/pr-build-main.yml       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/automatic-sync-main.yml 
b/.github/workflows/automatic-sync-main.yml
index 6e224558def..b5a35280c58 100644
--- a/.github/workflows/automatic-sync-main.yml
+++ b/.github/workflows/automatic-sync-main.yml
@@ -45,7 +45,7 @@ jobs:
         uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6
         with:
           distribution: 'temurin'
-          java-version: 17
+          java-version: 21
           cache: 'maven'
       - name: Build Camel Project
         run: ./mvnw -V --no-transfer-progress -Dquickly clean install
diff --git a/.github/workflows/generate-sbom-main.yml 
b/.github/workflows/generate-sbom-main.yml
index 572652539b8..2dab6177a97 100644
--- a/.github/workflows/generate-sbom-main.yml
+++ b/.github/workflows/generate-sbom-main.yml
@@ -46,7 +46,7 @@ jobs:
         uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6
         with:
           distribution: 'temurin'
-          java-version: 17
+          java-version: 21
           cache: 'maven'
       - name: Build Camel Project
         run: ./mvnw -B -V --no-transfer-progress -Dquickly install
diff --git a/.github/workflows/pr-build-main.yml 
b/.github/workflows/pr-build-main.yml
index 7c07fe20658..85321cc47b0 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -41,7 +41,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        java: ['17', '25']
+        java: ['21', '25']
     steps:
     - uses: actions/checkout@v7
       with:

Reply via email to