Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository/cached
path: ~/.m2/repository/
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: maven-
enableCrossOsArchive: true

- name: Set up Maven
Expand Down Expand Up @@ -101,6 +100,13 @@ jobs:
with:
persist-credentials: false

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository/
key: maven-${{ hashFiles('**/pom.xml') }}
enableCrossOsArchive: true

- name: Download Maven distribution
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -147,6 +153,13 @@ jobs:
with:
persist-credentials: false

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository/
key: maven-${{ hashFiles('**/pom.xml') }}
enableCrossOsArchive: true

- name: Download Maven distribution
uses: actions/download-artifact@v4
with:
Expand Down