Update GitHub workflows to use JDK 21 (Oracle)

All workflows now use JDK 21 with the Oracle distribution instead of JDK 17 or 11 with Temurin. This ensures consistency and leverages the latest Java features and security updates.
This commit is contained in:
amithkoujalgi
2025-09-18 02:00:55 +05:30
parent 5b71c8eacf
commit 8df36a9b98
4 changed files with 11 additions and 11 deletions

View File

@@ -14,11 +14,11 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
java-version: '21'
distribution: 'oracle'
server-id: github
settings-path: ${{ github.workspace }}