File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 60
60
with :
61
61
java-version : 17
62
62
distribution : temurin
63
+
64
+ # cache local patch outputs
65
+ - name : Cache local Maven repository
66
+ uses : actions/cache@v3
67
+ with :
68
+ path : |
69
+ ~/.m2/repository/io/opentelemetry/
70
+ key : ${{ runner.os }}-maven-local-${{ hashFiles('.github/patches/**/opentelemetry-java-*.patch') }}
63
71
64
72
- name : Publish patched dependencies to maven local
65
73
uses : ./.github/actions/patch-dependencies
@@ -308,6 +316,14 @@ jobs:
308
316
java-version : 17
309
317
distribution : temurin
310
318
319
+ # cache local patch outputs
320
+ - name : Cache local Maven repository
321
+ uses : actions/cache@v3
322
+ with :
323
+ path : |
324
+ ~/.m2/repository/io/opentelemetry/
325
+ key : ${{ runner.os }}-maven-local-${{ hashFiles('.github/patches/**/opentelemetry-java-*.patch') }}
326
+
311
327
- uses : gradle/wrapper-validation-action@v1
312
328
313
329
- name : Configure AWS Credentials
Original file line number Diff line number Diff line change 25
25
with :
26
26
node-version : 16
27
27
28
+ # cache local patch outputs
29
+ - name : Cache local Maven repository
30
+ uses : actions/cache@v3
31
+ with :
32
+ path : |
33
+ ~/.m2/repository/io/opentelemetry/
34
+ key : ${{ runner.os }}-maven-local-${{ hashFiles('.github/patches/**/opentelemetry-java-*.patch') }}
35
+
28
36
# vaadin tests use pnpm
29
37
- name : Cache pnpm modules
30
38
uses : actions/cache@v3
65
73
java-version : 17
66
74
distribution : temurin
67
75
76
+ # cache local patch outputs
77
+ - name : Cache local Maven repository
78
+ uses : actions/cache@v3
79
+ with :
80
+ path : |
81
+ ~/.m2/repository/io/opentelemetry/
82
+ key : ${{ runner.os }}-maven-local-${{ hashFiles('.github/patches/**/opentelemetry-java-*.patch') }}
83
+
68
84
- uses : gradle/wrapper-validation-action@v1
69
85
70
86
- name : Publish patched dependencies to maven local
You can’t perform that action at this time.
0 commit comments