Skip to content

Commit

Permalink
Add cache support
Browse files Browse the repository at this point in the history
  • Loading branch information
bcopy committed Feb 5, 2024
1 parent 68e2a73 commit ce5fa03
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
with:
java-version: 11
distribution: temurin
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Publish package
run: mvn --batch-mode deploy
env:
Expand Down

0 comments on commit ce5fa03

Please sign in to comment.