Skip to content

Commit

Permalink
Fix maven build caching
Browse files Browse the repository at this point in the history
  • Loading branch information
FireController1847 committed Jun 26, 2023
1 parent 5035bd3 commit 3465341
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Cache Maven
id: cache-primes
uses: actions/cache@v3
with:
path: |
~/.m2
~/repository
key: "latest-build"
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -50,7 +58,7 @@ jobs:
path: |
~/.m2
~/repository
key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }}
key: "latest-build"

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
Expand Down

0 comments on commit 3465341

Please sign in to comment.