From fe87c4ccc803ef732981810c1aeba89b2033650c Mon Sep 17 00:00:00 2001 From: amithkoujalgi Date: Wed, 17 Sep 2025 21:45:27 +0530 Subject: [PATCH] Update CI workflows to use JDK 21 with Oracle distribution Changed Java version from 11 to 21 and switched distribution from 'adopt-hotspot' to 'oracle' in build and documentation publishing workflows for improved compatibility and support. --- .github/workflows/build-on-pull-request.yml | 6 +++--- .github/workflows/publish-docs.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-on-pull-request.yml b/.github/workflows/build-on-pull-request.yml index f9e9277..7420c64 100644 --- a/.github/workflows/build-on-pull-request.yml +++ b/.github/workflows/build-on-pull-request.yml @@ -22,11 +22,11 @@ jobs: steps: - uses: actions/checkout@v5 - - name: Set up JDK 11 + - name: Set up JDK 21 uses: actions/setup-java@v5 with: - java-version: '11' - distribution: 'adopt-hotspot' + java-version: '21' + distribution: 'oracle' server-id: github settings-path: ${{ github.workspace }} diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 50ec9df..7aab5ff 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -30,11 +30,11 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - uses: actions/checkout@v5 - - name: Set up JDK 11 + - name: Set up JDK 21 uses: actions/setup-java@v5 with: - java-version: '11' - distribution: 'adopt-hotspot' + java-version: '21' + distribution: 'oracle' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file