You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by lu...@apache.org on 2021/04/25 23:03:10 UTC

[drill] branch master updated: DRILL-7908: Fix GitHub Actions CI

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b5e01be  DRILL-7908: Fix GitHub Actions CI
b5e01be is described below

commit b5e01be0b048bd0ab8b45274ade6dce5e2d5aa2d
Author: Vitalii Diravka <vi...@apache.org>
AuthorDate: Fri Apr 23 14:35:56 2021 +0300

    DRILL-7908: Fix GitHub Actions CI
---
 .github/workflows/ci.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5d0d6c6..f141e3a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -33,13 +33,13 @@ jobs:
     strategy:
       matrix:
         # Java versions to run unit tests
-        java: [ '1.8', '11', '14' ]
+        java: [ '8', '11', '14' ]
     steps:
       - name: Checkout
         uses: actions/checkout@v2
       # Caches maven cache and uses hashes of pom.xml files to find the required cache
       - name: Cache Maven Repository
-        uses: actions/cache@v1
+        uses: actions/cache@v2
         with:
           path: ~/.m2/repository
           key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -52,11 +52,12 @@ jobs:
           path: ~/.embedmysql
           key: ${{ runner.os }}-mysql
       - name: Set up JDK ${{ matrix.java }}
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: ${{ matrix.java }}
       - name: Build and test
-        run: mvn install
+        run: mvn install -DdirectMemoryMb=4500 -DmemoryMb=1300
 
   checkstyle_protobuf:
     name: Run checkstyle and generate protobufs