Skip to content

Commit f4cad15

Browse files
Fixes cache
Signed-off-by: Darshit Chanpura <[email protected]>
1 parent e050d1d commit f4cad15

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Cache artifacts for dependent jobs
5454
uses: actions/[email protected]
5555
with:
56-
path: ~/.m2/repository
56+
path: ~/.m2/repository/org/opensearch/
5757
key: maven-local-${{ github.run_id }}
5858
restore-keys: |
5959
maven-local-
@@ -82,7 +82,7 @@ jobs:
8282
- name: Restore Maven Local Cache
8383
uses: actions/[email protected]
8484
with:
85-
path: ~/.m2/repository
85+
path: ~/.m2/repository/org/opensearch/
8686
key: maven-local-${{ github.run_id }}
8787
restore-keys: |
8888
maven-local-
@@ -147,7 +147,7 @@ jobs:
147147
- name: Restore Maven Local Cache
148148
uses: actions/[email protected]
149149
with:
150-
path: ~/.m2/repository
150+
path: ~/.m2/repository/org/opensearch/
151151
key: maven-local-${{ github.run_id }}
152152
restore-keys: |
153153
maven-local-
@@ -189,7 +189,7 @@ jobs:
189189
- name: Restore Maven Local Cache
190190
uses: actions/[email protected]
191191
with:
192-
path: ~/.m2/repository
192+
path: ~/.m2/repository/org/opensearch/
193193
key: maven-local-${{ github.run_id }}
194194
restore-keys: |
195195
maven-local-
@@ -231,7 +231,7 @@ jobs:
231231
- name: Restore Maven Local Cache
232232
uses: actions/[email protected]
233233
with:
234-
path: ~/.m2/repository
234+
path: ~/.m2/repository/org/opensearch/
235235
key: maven-local-${{ github.run_id }}
236236
restore-keys: |
237237
maven-local-
@@ -274,7 +274,7 @@ jobs:
274274
- name: Restore Maven Local Cache
275275
uses: actions/[email protected]
276276
with:
277-
path: ~/.m2/repository
277+
path: ~/.m2/repository/org/opensearch/
278278
key: maven-local-${{ github.run_id }}
279279
restore-keys: |
280280
maven-local-

0 commit comments

Comments
 (0)