From 6d374d90a7058da031f91aae82b59bb30e4812a0 Mon Sep 17 00:00:00 2001 From: Alberto Codutti Date: Thu, 23 Jan 2025 16:21:57 +0100 Subject: [PATCH] :recycle: [CI] Added a common action to prepare m2 repo for caching Signed-off-by: Alberto Codutti --- .github/actions/prepareMavenRepoForCache/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/prepareMavenRepoForCache/action.yaml b/.github/actions/prepareMavenRepoForCache/action.yaml index 934d3df8131..b4aa1539149 100644 --- a/.github/actions/prepareMavenRepoForCache/action.yaml +++ b/.github/actions/prepareMavenRepoForCache/action.yaml @@ -5,6 +5,7 @@ runs: using: "composite" steps: - name: Extract built Kapua artifacts # This splits the built Kapua artifact of this run from the cached repository of external dependencies for caching + if: ${{ steps.cache-maven-kapua-artifacts.outputs.cache-hit != 'true' }} run: | mkdir --parents ~/.m2/kapua-repository/org/eclipse/ mv ~/.m2/repository/org/eclipse/kapua ~/.m2/kapua-repository/org/eclipse/kapua