8989 - name : Get year/month for cache key
9090 id : get-date
9191 run : |
92- echo "::set-output name= yearmonth:: $(/bin/date -u " +%Y-%m") "
92+ echo "yearmonth= $(/bin/date -u ' +%Y-%m')" >> "$GITHUB_OUTPUT "
9393 shell : bash
9494 - name : Cache Gradle downloads
9595 uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
@@ -138,7 +138,7 @@ jobs:
138138 - name : Get year/month for cache key
139139 id : get-date
140140 run : |
141- echo "::set-output name= yearmonth:: $(/bin/date -u " +%Y-%m") "
141+ echo "yearmonth= $(/bin/date -u ' +%Y-%m')" >> "$GITHUB_OUTPUT "
142142 shell : bash
143143 - name : Cache Gradle downloads
144144 uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
@@ -202,7 +202,7 @@ jobs:
202202 - name : Get year/month for cache key
203203 id : get-date
204204 run : |
205- echo "::set-output name= yearmonth:: $(/bin/date -u " +%Y-%m") "
205+ echo "yearmonth= $(/bin/date -u ' +%Y-%m')" >> "$GITHUB_OUTPUT "
206206 shell : bash
207207
208208 - name : Generate cache key
@@ -263,7 +263,7 @@ jobs:
263263 check-latest : true
264264 - name : Export path to JDK ${{ matrix.java.name }}
265265 id : testjdk-exportpath
266- run : echo "::set-output name= path:: ${JAVA_HOME}"
266+ run : echo "path= ${JAVA_HOME}" >> $GITHUB_OUTPUT
267267 - name : Set up JDK 11
268268 if : ${{ startsWith( inputs.branch, 'wip/2' ) }}
269269 uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
@@ -280,7 +280,7 @@ jobs:
280280 check-latest : true
281281 - name : Export path to JDK 11
282282 id : mainjdk-exportpath
283- run : echo "::set-output name= path:: ${JAVA_HOME}"
283+ run : echo "path= ${JAVA_HOME}" >> $GITHUB_OUTPUT
284284 - name : Display exact version of JDK ${{ matrix.java.name }}
285285 run : |
286286 ${{ steps.testjdk-exportpath.outputs.path }}/bin/java -version
0 commit comments