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

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


The following commit(s) were added to refs/heads/master by this push:
     new 14ef989  Cache ~/.m2 dir for GitHub builds.
14ef989 is described below

commit 14ef989f26a3891509e59501f60ef1a3bc42c0e2
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Aug 10 21:19:22 2020 -0400

    Cache ~/.m2 dir for GitHub builds.
---
 .github/workflows/maven.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 3d5bf48..5030ced 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -33,6 +33,12 @@ jobs:
         
     steps:
     - uses: actions/checkout@v2.3.2
+    - uses: actions/cache@v2
+      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.0
       with:

Reply via email to