11#
2- # Copyright (c) 2024 Oracle and/or its affiliates.
2+ # Copyright (c) 2024, 2025 Oracle and/or its affiliates.
33#
44# Licensed under the Apache License, Version 2.0 (the "License");
55# you may not use this file except in compliance with the License.
8484 java-version : ${{ env.JAVA_VERSION }}
8585 - name : Cache local Maven repository (read-write)
8686 if : ${{ inputs.maven-cache == 'read-write' }}
87- uses : actions/cache@v4.0.2
87+ uses : actions/cache@v4.2.0
8888 with :
8989 # See https://github.com/actions/toolkit/issues/713
9090 # Include must not match top level directories
9898 local-maven-
9999 - name : Cache local Maven repository (read-only)
100100 if : ${{ inputs.maven-cache == 'read-only' }}
101- uses : actions/cache/restore@v4.0.2
101+ uses : actions/cache/restore@v4.2.0
102102 with :
103103 path : |
104104 .m2/repository/**/*.*
@@ -109,7 +109,7 @@ runs:
109109 local-maven-
110110 - name : Build cache (read-write)
111111 if : ${{ inputs.build-cache == 'read-write' }}
112- uses : actions/cache@v4.0.2
112+ uses : actions/cache@v4.2.0
113113 with :
114114 path : |
115115 ./**/target/**
@@ -121,7 +121,7 @@ runs:
121121 build-cache-${{ github.run_id }}-
122122 - name : Build cache (read-only)
123123 if : ${{ inputs.build-cache == 'read-only' }}
124- uses : actions/cache/restore@v4.0.2
124+ uses : actions/cache/restore@v4.2.0
125125 with :
126126 path : |
127127 ./**/target/**
0 commit comments