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

xiatian pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/eventmesh-dashboard.git


The following commit(s) were added to refs/heads/main by this push:
     new 23abbb9  [ISSUE #200] Support building JDK 17&21 Dashboard in CI (#201)
23abbb9 is described below

commit 23abbb9e0f1b8e2a4bc12fe734605cc91474e4e7
Author: Pil0tXia <[email protected]>
AuthorDate: Mon May 12 03:23:24 2025 +0800

    [ISSUE #200] Support building JDK 17&21 Dashboard in CI (#201)
    
    * feat: support jdk17 building
    
    * feat: update forced pipelines
    
    * Revert "feat: update forced pipelines"
    
    This reverts commit bfdee514d7d1ea91b58bd7fdbbc14b506acc55c3.
    
    * feat: 21 may not pass ci
---
 .github/workflows/ci.yml | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 69ada69..380563f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -34,7 +34,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [ ubuntu-latest ]
-        java: [ 8, 11 ]
+        java: [ 17 ]
         language: [ 'java' ]
     runs-on: ${{ matrix.os }}
 
@@ -81,11 +81,11 @@ jobs:
         working-directory: eventmesh
         run: ./gradlew clean generateGrammarSource --parallel --daemon
 
-      - name: Set up JDK ${{ matrix.java }}
+      - name: Set up JDK 8
         uses: actions/setup-java@v4
         with:
           distribution: 'corretto'
-          java-version: ${{ matrix.java }}
+          java-version: 8
           cache: maven
 
       - name: Build EventMesh Runtime
@@ -110,6 +110,13 @@ jobs:
         working-directory: eventmesh/dist
         run: bash bin/start.sh
 
+      - name: Set up JDK ${{ matrix.java }}
+        uses: actions/setup-java@v4
+        with:
+          distribution: 'corretto'
+          java-version: ${{ matrix.java }}
+          cache: maven
+
       - name: Build Dashboard
         run: ./mvnw -B package -DskipTests --file pom.xml
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to