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

jleroux pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 30a0ef12f4931067bb8d637bf8daf44dabfaf3dd
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Thu Jan 12 14:26:36 2023 +0100

    Improved: Use JDK 17 in GitHub Action, BuildBot (ie OFBiz CI) and demos 
(OFBIZ-12729)
    
    This is only the GH actions file
---
 .github/workflows/gradle.yaml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/gradle.yaml b/.github/workflows/gradle.yaml
index 5f6525e5a6..693d5f7841 100644
--- a/.github/workflows/gradle.yaml
+++ b/.github/workflows/gradle.yaml
@@ -15,7 +15,7 @@
 
 
 # This workflow will check style in OFBiz with its plugins
-# For more information see: 
https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
+# For more information see: https://github.com/actions/setup-java
 
 name: Java CI with Gradle
 
@@ -32,15 +32,17 @@ jobs:
 
     steps:
     - uses: actions/checkout@v3
-    - name: Set up JDK 11
+    - name: Set up JDK 17
       uses: actions/setup-java@v3.6.0
       with:
-        java-version: 11
-        distribution: zulu
+        java-version: 17
+        distribution: temurin
+        cache: 'gradle'
     - name: Grant execute permission for gradlew
       run: chmod +x gradlew
     - name: Build with Gradle
       run: ./gradlew pullAllPluginsSource check javadoc
 # Below does not work, see see 
https://lists.apache.org/thread/80wzf4kclfk5nh2fss56jd6otf7y4n2f
+# BuildBot does it anyway
 #     - name: Builds with Gradle, checks style and run integration tests (just 
to know if they pass)
 #       run: ./gradlew pullAllPluginsSource check javadoc loadAll 
testIntegration

Reply via email to