-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(62): use built-in Maven cache mechanism of setup-java GitHub
Action fixes #62 Signed-off-by: Aurélien Pupier <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,22 +134,17 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
- name: Set up JDK 1.11 | ||
uses: actions/setup-java@v2.3.0 | ||
uses: actions/setup-java@v3.9.0 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
cache: 'maven' | ||
- name: Cache SonarCloud packages | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.sonar/cache | ||
key: ${{ runner.os }}-sonar | ||
restore-keys: ${{ runner.os }}-sonar | ||
- name: Cache Maven packages | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
- name: Create custom Maven Settings.xml #(2) | ||
uses: whelk-io/maven-settings-xml-action@v18 | ||
with: | ||
|