File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575
7676 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7777
78+ - name : Cache Maven repository
79+ uses : actions/cache@v4
80+ with :
81+ path : ~/.m2/repository
82+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
83+ restore-keys : |
84+ ${{ runner.os }}-maven-
85+
7886 # Use the CodeBuild image's preinstalled Corretto 8. The image ships it at
7987 # $JAVA_8_HOME but defaults JAVA_HOME to Java 25, so point JAVA_HOME/PATH at
8088 # 8. Avoids actions/setup-java, which fetches from corretto.github.io +
@@ -164,6 +172,14 @@ jobs:
164172 with :
165173 fetch-depth : 0 # full history for tagging/pushing
166174
175+ - name : Cache Maven repository
176+ uses : actions/cache@v4
177+ with :
178+ path : ~/.m2/repository
179+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
180+ restore-keys : |
181+ ${{ runner.os }}-maven-
182+
167183 # Use the CodeBuild image's preinstalled Corretto 8. The image ships it at
168184 # $JAVA_8_HOME but defaults JAVA_HOME to Java 25, so point JAVA_HOME/PATH at
169185 # 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