From 2aebc12e7528acae2379e74ae400474db9499b24 Mon Sep 17 00:00:00 2001 From: Wojciech Piotrowiak Date: Mon, 27 Nov 2023 13:39:28 +0100 Subject: [PATCH] AAE-17877 clean cache condition --- .github/actions/maven-build-and-tag/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index b53eaf748..40deeecba 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -231,7 +231,7 @@ runs: git push origin $VERSION - name: Clean m2 cache - if: github.event_name == 'push' + if: github.event_name == 'push' && github.event.repository.default_branch == github.ref_name shell: bash run: | rm -fr ~/.m2/repository/org/activiti