You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2021/09/13 08:55:05 UTC

[commons-ognl] branch master updated: setup-java v2 cache feature

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

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-ognl.git


The following commit(s) were added to refs/heads/master by this push:
     new 3973364  setup-java v2 cache feature
     new 11e0acd  Merge pull request #49 from sullis/setup-java-v2-cache
3973364 is described below

commit 39733646df7d358feb91ac13edcbd7c7b14944f3
Author: Sean C. Sullivan <gi...@seansullivan.com>
AuthorDate: Sat Sep 4 20:55:32 2021 -0700

    setup-java v2 cache feature
---
 .github/workflows/maven.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 4addcc6..f0f1410 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -32,16 +32,11 @@ jobs:
 
     steps:
     - 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@v2
       with:
         distribution: adopt
         java-version: ${{ matrix.java }}
+        cache: 'maven'
     - name: Build with Maven
       run: mvn -V -Ddoclint=all --file pom.xml --no-transfer-progress