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

bodewig pushed a commit to branch pack200-harmony-as-fallback
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/pack200-harmony-as-fallback by 
this push:
     new 18cb531  sync github actions config with master
18cb531 is described below

commit 18cb531d61feafdb3b8dcfce621115bc994d36d5
Author: Stefan Bodewig <bode...@apache.org>
AuthorDate: Fri Jul 2 16:49:27 2021 +0200

    sync github actions config with master
---
 .github/workflows/maven.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 699a76f..5b869d5 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,7 +15,7 @@
 
 name: Java CI
 
-on: [push]
+on: [push, pull_request]
 
 jobs:
   build:
@@ -29,20 +29,20 @@ jobs:
         experimental: [false]
         include:
           - java: 17-ea
-            experimental: true        
+            experimental: true
         
     steps:
-    - uses: actions/checkout@v2.3.2
-    - uses: actions/cache@v2
+    - uses: actions/checkout@v2.3.4
+    - uses: actions/cache@v2.1.6
       with:
         path: ~/.m2/repository
         key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
         restore-keys: |
           ${{ runner.os }}-maven-
     - name: Set up JDK ${{ matrix.java }}
-      uses: actions/setup-java@v1.4.1
+      uses: actions/setup-java@v2
       with:
+        distribution: 'adopt'
         java-version: ${{ matrix.java }}
     - name: Build with Maven
-      # TEMP -Ddoclint=none
-      run: mvn -V --file pom.xml --no-transfer-progress -Ddoclint=none
+      run: mvn -V --file pom.xml --no-transfer-progress

Reply via email to