Skip to content

Commit

Permalink
Have a proper maven cache (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Sep 14, 2022
1 parent cc1c3d7 commit 3c80008
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/gha-badge-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ jobs:
with:
java-version: "17"
distribution: "adopt"
cache: "maven"

- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
working-directory: apps/gha-badge-generator
Expand Down

0 comments on commit 3c80008

Please sign in to comment.