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


The following commit(s) were added to refs/heads/gha-sonar-error-hashfiles by 
this push:
     new 62ea018e79e .github: fix main sonar check
62ea018e79e is described below

commit 62ea018e79ed2959d5555b29013358d8b189bf4f
Author: Wei Zhou <weiz...@apache.org>
AuthorDate: Tue May 20 10:49:59 2025 +0200

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

diff --git a/.github/workflows/main-sonar-check.yml 
b/.github/workflows/main-sonar-check.yml
index 8248e48022a..ad86dd070ad 100644
--- a/.github/workflows/main-sonar-check.yml
+++ b/.github/workflows/main-sonar-check.yml
@@ -54,7 +54,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