Skip to content

Commit

Permalink
Add cache to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 11, 2024
1 parent 4c57802 commit df20608
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
distribution: 'temurin'
cache: 'maven'

- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ github.sha }}

- name: Set up Maven
run:
mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper "-Dmaven=3.9.7"
Expand Down

0 comments on commit df20608

Please sign in to comment.