This is an automated email from the ASF dual-hosted git repository.

kusal pushed a commit to branch gh-actions-sonar-21
in repository https://gitbox.apache.org/repos/asf/struts.git
commit 523f564ad5d1e8c5b5d2e1eaefb1b5ce78c361a7
Author: Kusal Kithul-Godage <g...@kusal.io>
AuthorDate: Mon Sep 18 21:06:42 2023 +1000

    Add JDK 21 build
---
 .github/workflows/maven.yml | 2 +-
 .github/workflows/sonar.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 3e4c8d96d..a12923ab0 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -33,7 +33,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        java: [ '8', '11', '17' ]
+        java: [ '8', '11', '17', '21' ]
     steps:
       - name: Checkout code
         uses: actions/checkout@v4
diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index ba84aedb8..582596abd 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -38,7 +38,7 @@ jobs:
       - uses: actions/setup-java@v3
         with:
           distribution: temurin
-          java-version: 17
+          java-version: 21
           cache: 'maven'
       - env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Reply via email to