File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474
7575 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7676
77+ - name : Cache Maven repository
78+ uses : actions/cache@v4
79+ with :
80+ path : ~/.m2/repository
81+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
82+ restore-keys : |
83+ ${{ runner.os }}-maven-
84+
7785 # Use the CodeBuild image's preinstalled Corretto 8. The image ships it at
7886 # $JAVA_8_HOME but defaults JAVA_HOME to Java 25, so point JAVA_HOME/PATH at
7987 # 8. Avoids actions/setup-java, which fetches from corretto.github.io +
@@ -163,6 +171,14 @@ jobs:
163171 with :
164172 fetch-depth : 0 # full history for tagging/pushing
165173
174+ - name : Cache Maven repository
175+ uses : actions/cache@v4
176+ with :
177+ path : ~/.m2/repository
178+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
179+ restore-keys : |
180+ ${{ runner.os }}-maven-
181+
166182 # Use the CodeBuild image's preinstalled Corretto 8. The image ships it at
167183 # $JAVA_8_HOME but defaults JAVA_HOME to Java 25, so point JAVA_HOME/PATH at
168184 # 8. Avoids actions/setup-java, which fetches from corretto.github.io +
Original file line number Diff line number Diff line change 8686 with :
8787 fetch-depth : 0 # full history for tagging/pushing
8888
89+ - name : Cache Maven repository
90+ uses : actions/cache@v4
91+ with :
92+ path : ~/.m2/repository
93+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
94+ restore-keys : |
95+ ${{ runner.os }}-maven-
96+
8997 # Use the CodeBuild image's preinstalled Corretto 8. The image ships it at
9098 # $JAVA_8_HOME but defaults JAVA_HOME to Java 25, so point JAVA_HOME/PATH at
9199 # 8. Avoids actions/setup-java, which fetches from corretto.github.io +
You can’t perform that action at this time.
0 commit comments