From d065838aab76ed957b5027705f3d56fa9221da1f Mon Sep 17 00:00:00 2001 From: Krystian Panek Date: Mon, 29 Jul 2024 10:08:11 +0200 Subject: [PATCH] Caching --- .github/workflows/check.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 64f305d..a84d475 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -18,4 +18,6 @@ jobs: with: java-version: '11' distribution: 'temurin' - - run: mvn --batch-mode clean package verify + cache: 'maven' + cache-dependency-path: 'sub-project/pom.xml' # optional + - run: mvn -B clean package verify