You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/08/11 01:16:15 UTC
[commons-io] branch master updated: Cache ~/.m2 dir for GitHub
builds.
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-io.git
The following commit(s) were added to refs/heads/master by this push:
new 0d2bd41 Cache ~/.m2 dir for GitHub builds.
0d2bd41 is described below
commit 0d2bd41ab6a18c9ab8f6cddde6a14d8e5aac483a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Aug 10 21:16:07 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 d2151a4..30098c8 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -38,6 +38,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: