|
79 | 79 | version: 2025.7.12 |
80 | 80 | - name: Select Java Version |
81 | 81 | run: mise use java@21 |
| 82 | + - name: Ensure Separate Job Cache Key |
| 83 | + uses: ./.github/actions/write-file |
| 84 | + with: |
| 85 | + file-path: just_for_cache_key_calculation/pom.xml |
| 86 | + content: ${{ github.job }}-${{ toJSON(matrix.item) }} |
82 | 87 | - name: Configure Maven |
83 | 88 | uses: SonarSource/ci-github-actions/config-maven@v1 |
84 | 89 | with: |
@@ -141,6 +146,11 @@ jobs: |
141 | 146 | version: 2025.7.12 |
142 | 147 | - name: Select Java Version |
143 | 148 | run: mise use java@21 |
| 149 | + - name: Ensure Separate Job Cache Key |
| 150 | + uses: ./.github/actions/write-file |
| 151 | + with: |
| 152 | + file-path: just_for_cache_/pom.xml |
| 153 | + content: ${{ github.job }}-${{ matrix.sq_version }} |
144 | 154 | - name: Configure Maven |
145 | 155 | uses: SonarSource/ci-github-actions/config-maven@v1 |
146 | 156 | with: |
@@ -186,6 +196,11 @@ jobs: |
186 | 196 | secrets: | |
187 | 197 | development/kv/data/next url | SONAR_HOST_URL; |
188 | 198 | development/kv/data/next token | SONAR_TOKEN; |
| 199 | + - name: Ensure Separate Job Cache Key |
| 200 | + uses: ./.github/actions/write-file |
| 201 | + with: |
| 202 | + file-path: just_for_cache_key_calculation/pom.xml |
| 203 | + content: ${{ github.job }} |
189 | 204 | - uses: SonarSource/ci-github-actions/config-maven@v1 |
190 | 205 | with: |
191 | 206 | artifactory-reader-role: private-reader |
@@ -315,6 +330,11 @@ jobs: |
315 | 330 | development/kv/data/next url | SONAR_HOST_URL; |
316 | 331 | development/kv/data/next token | SONAR_TOKEN; |
317 | 332 | development/github/token/licenses-ro token | GITHUB_TOKEN; |
| 333 | + - name: Ensure Separate Job Cache Key |
| 334 | + uses: ./.github/actions/write-file |
| 335 | + with: |
| 336 | + file-path: just_for_cache_key_calculation/pom.xml |
| 337 | + content: ${{ github.job }} |
318 | 338 | - uses: SonarSource/ci-github-actions/config-maven@v1 |
319 | 339 | with: |
320 | 340 | artifactory-reader-role: private-reader |
|
0 commit comments