Skip to content

Commit ff4256d

Browse files
author
Stefan Hahmann
committed
Add cache dependency path to build.yml and sonarcloud.yml
* There was an error while running the jobs on github. Co-pilot suggested to add cache-dependency-path to set java actions
1 parent eaf478e commit ff4256d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
java-version: '8'
2323
distribution: 'zulu'
2424
cache: 'maven'
25+
cache-dependency-path: '**/pom.xml'
2526
- name: Set up CI environment
2627
run: .github/setup.sh
2728
- name: Execute the build

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
java-version: '17'
4646
distribution: 'zulu'
4747
cache: 'maven'
48-
48+
cache-dependency-path: '**/pom.xml'
4949
- name: Jacoco Report and SonarCloud Analysis
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information

0 commit comments

Comments
 (0)