This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch gha-sonar-error-hashfiles
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 33c5b4221f292d82132e743d18e63b416cc02627
Author: Wei Zhou <weiz...@apache.org>
AuthorDate: Tue May 20 10:43:59 2025 +0200

    .github: fix sonar check
---
 .github/workflows/sonar-check.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/sonar-check.yml 
b/.github/workflows/sonar-check.yml
index c36bceb2b90..2c01e7cc6c2 100644
--- a/.github/workflows/sonar-check.yml
+++ b/.github/workflows/sonar-check.yml
@@ -56,7 +56,7 @@ jobs:
         uses: actions/cache@v4
         with:
           path: ~/.m2/repository
-          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+          key: ${{ runner.os }}-m2-${{ hashFiles('pom.xml', '*/pom.xml') }}
           restore-keys: |
             ${{ runner.os }}-m2
 

Reply via email to