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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 08131b9add HDDS-9605. Upgrade coverage check to Java 17 (#5540)
08131b9add is described below

commit 08131b9addc719551a8e4d8c1846f8c8f11bd62c
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Fri Nov 3 19:35:49 2023 +0100

    HDDS-9605. Upgrade coverage check to Java 17 (#5540)
---
 .github/workflows/ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e3b38fe42e..617d1c9e3d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -482,6 +482,8 @@ jobs:
     steps:
       - name: Checkout project
         uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
       - name: Cache for maven dependencies
         uses: actions/cache@v3
         with:
@@ -501,11 +503,11 @@ jobs:
           tar xzvf target/artifacts/ozone-bin/ozone*.tar.gz -C 
hadoop-ozone/dist/target
       - name: Calculate combined coverage
         run: ./hadoop-ozone/dev-support/checks/coverage.sh
-      - name: Setup java 11
+      - name: Setup java 17
         uses: actions/setup-java@v3
         with:
           distribution: 'temurin'
-          java-version: 11
+          java-version: 17
       - name: Upload coverage to Sonar
         run: ./hadoop-ozone/dev-support/checks/sonar.sh
         env:


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

Reply via email to