Skip to content

Commit

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

fixes #62

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
  • Loading branch information
apupier committed Mar 10, 2023
1 parent 2f945b8 commit 9c574a8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/GITHUB_ACTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/cache@v2.1.6
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v2.1.6
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:
Expand Down

0 comments on commit 9c574a8

Please sign in to comment.