Skip to content

Commit

Permalink
chore(217): use built-in Maven cache mechanism of setup-java GitHub
Browse files Browse the repository at this point in the history
Action

fixes com-pas#217

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Jan 9, 2023
1 parent fcc433a commit e0053df
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/sonarcloud-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,13 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Create custom Maven Settings.xml
uses: whelk-io/maven-settings-xml-action@v18
with:
Expand Down

0 comments on commit e0053df

Please sign in to comment.