.github: Update to JDK 17 in ci.yml and build.yml (#11030)

* .github: Update to JDK 17 in build.yml

* .github: update JDK in ci.yml

---------

Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
This commit is contained in:
Wei Zhou 2025-09-01 10:14:09 +02:00 committed by GitHub
parent ca0c3530ad
commit 574ed7857b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 11 deletions

View File

@ -32,13 +32,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up JDK 11 - name: Set up JDK 17
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: '11' distribution: 'temurin'
distribution: 'adopt' java-version: '17'
architecture: x64 cache: 'maven'
cache: maven
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5

View File

@ -220,13 +220,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK - name: Set up JDK 17
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
java-version: '11' distribution: 'temurin'
distribution: 'adopt' java-version: '17'
architecture: x64 cache: 'maven'
cache: maven
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5

View File

@ -58,7 +58,7 @@
<cs.jdk.version>11</cs.jdk.version> <cs.jdk.version>11</cs.jdk.version>
<cs.target.dir>target</cs.target.dir> <cs.target.dir>target</cs.target.dir>
<cs.replace.properties>build/replace.properties</cs.replace.properties> <cs.replace.properties>build/replace.properties</cs.replace.properties>
<argLine>-Djava.security.egd=file:/dev/./urandom -noverify --add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.base/sun.security.x509=ALL-UNNAMED --add-opens=java.base/javax.net.ssl=ALL-UNNAMED</argLine> <argLine>-Djava.security.egd=file:/dev/./urandom -noverify --add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.base/sun.security.x509=ALL-UNNAMED --add-exports=java.base/sun.security.provider=ALL-UNNAMED --add-opens=java.base/javax.net.ssl=ALL-UNNAMED</argLine>
<!-- Plugins versions --> <!-- Plugins versions -->
<cs.antrun-plugin.version>1.8</cs.antrun-plugin.version> <cs.antrun-plugin.version>1.8</cs.antrun-plugin.version>