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.
This commit is contained in:
amithkoujalgi 2025-09-17 21:45:27 +05:30
parent 4f02b299c3
commit fe87c4ccc8
No known key found for this signature in database
GPG Key ID: E29A37746AF94B70
2 changed files with 6 additions and 6 deletions

View File

@ -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 }}

View File

@ -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