This is an automated email from the ASF dual-hosted git repository. weizhou pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push: new 574ed7857b3 .github: Update to JDK 17 in ci.yml and build.yml (#11030) 574ed7857b3 is described below commit 574ed7857b350f7ba8b0e0d061ad9484977dbbbd Author: Wei Zhou <weiz...@apache.org> AuthorDate: Mon Sep 1 10:14:09 2025 +0200 .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.anapa...@gmail.com> --- .github/workflows/build.yml | 9 ++++----- .github/workflows/ci.yml | 9 ++++----- pom.xml | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd3c8f8ac67..06f9f424c7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,13 +32,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' - distribution: 'adopt' - architecture: x64 - cache: maven + distribution: 'temurin' + java-version: '17' + cache: 'maven' - name: Set up Python uses: actions/setup-python@v5 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c61ca8e4dd..471e56e3f07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -220,13 +220,12 @@ jobs: with: fetch-depth: 0 - - name: Set up JDK + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' - distribution: 'adopt' - architecture: x64 - cache: maven + distribution: 'temurin' + java-version: '17' + cache: 'maven' - name: Set up Python uses: actions/setup-python@v5 diff --git a/pom.xml b/pom.xml index 924f8c41884..b33d9dfe4c6 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ <cs.jdk.version>11</cs.jdk.version> <cs.target.dir>target</cs.target.dir> <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 --> <cs.antrun-plugin.version>1.8</cs.antrun-plugin.version>