9191 set-java-home : ' false'
9292 - name : Set up JDK
9393 if : ${{ inputs.setup-latest-java == 'false' }}
94- uses : actions/setup-java@v4.1.0
94+ uses : actions/setup-java@v4.7.1
9595 with :
9696 distribution : ${{ env.JAVA_DISTRO }}
9797 java-version : ${{ env.JAVA_VERSION }}
@@ -105,7 +105,7 @@ runs:
105105 version : stable
106106 - name : Cache local Maven repository (read-write)
107107 if : ${{ inputs.maven-cache == 'read-write' }}
108- 108+ 109109 with :
110110 # See https://github.com/actions/toolkit/issues/713
111111 # Include must not match top level directories
@@ -119,7 +119,7 @@ runs:
119119 local-maven-
120120 - name : Cache local Maven repository (read-only)
121121 if : ${{ inputs.maven-cache == 'read-only' }}
122- uses :
actions/cache/[email protected] .0 122+ uses :
actions/cache/[email protected] .3 123123 with :
124124 path : |
125125 .m2/repository/**/*.*
@@ -130,7 +130,7 @@ runs:
130130 local-maven-
131131 - name : Build cache (read-write)
132132 if : ${{ inputs.build-cache == 'read-write' }}
133- 133+ 134134 with :
135135 path : |
136136 ./**/target/**
@@ -151,7 +151,7 @@ runs:
151151 key : build-cache-${{ github.run_id }}-${{ github.run_attempt }}-${{ inputs.build-cache-id }}
152152 - name : Build cache (read-only)
153153 if : ${{ inputs.build-cache == 'read-only' }}
154- uses :
actions/cache/[email protected] .0 154+ uses :
actions/cache/[email protected] .3 155155 with :
156156 path : |
157157 ./**/target/**
0 commit comments