Skip to content

Commit

Permalink
Merge pull request #58 from ADI10HERO/caching-ga
Browse files Browse the repository at this point in the history
feat: add maven dependency caching
  • Loading branch information
garethjevans authored Jul 9, 2021
2 parents 743029c + b3bd17f commit dd8604e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
distribution: 'adopt'
java-version: 8

- name: Cache maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-build
Expand Down

0 comments on commit dd8604e

Please sign in to comment.