diff --git a/.github/workflows/schedule-report.yml b/.github/workflows/schedule-report.yml index 04b1d5d60cc49..3739d0303bed4 100644 --- a/.github/workflows/schedule-report.yml +++ b/.github/workflows/schedule-report.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/cache@v4 with: path: ~/.m2/repository - key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-${{ hashFiles('**/pom.xml') }} + key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-${{ hashFiles('pom.xml','*/pom.xml') }} restore-keys: | ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party- - name: Analyze with SonarCloud @@ -76,7 +76,7 @@ jobs: - uses: actions/cache@v4 with: path: ~/.m2/repository - key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-${{ hashFiles('**/pom.xml') }} + key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-${{ hashFiles('pom.xml','*/pom.xml') }} restore-keys: | ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party- - name: Install Project