You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2022/10/20 11:49:14 UTC
[creadur-rat] branch master updated: RAT-312: Try to use caching of artifacts to speedup GA builds
This is an automated email from the ASF dual-hosted git repository.
pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git
The following commit(s) were added to refs/heads/master by this push:
new a0a09dca RAT-312: Try to use caching of artifacts to speedup GA builds
a0a09dca is described below
commit a0a09dca0ed661c313bdfdb44304bb337adb9f36
Author: Hugo Hirsch <gi...@hugo-hirsch.de>
AuthorDate: Thu Oct 20 13:49:04 2022 +0200
RAT-312: Try to use caching of artifacts to speedup GA builds
---
.github/workflows/maven.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 67893430..186ae695 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -42,6 +42,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
+ - name: Configura artifact caching
+ uses: actions/cache@v3.0.11
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+
- name: Set up JDK
uses: actions/setup-java@v3.6.0
with: