8686 - name : Get year/month for cache key
8787 id : get-date
8888 run : |
89- echo "::set-output name= yearmonth:: $(/bin/date -u " +%Y-%m") "
89+ echo "yearmonth= $(/bin/date -u ' +%Y-%m')" >> "$GITHUB_OUTPUT "
9090 shell : bash
9191 - name : Cache Gradle downloads
9292 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
@@ -135,7 +135,7 @@ jobs:
135135 - name : Get year/month for cache key
136136 id : get-date
137137 run : |
138- echo "::set-output name= yearmonth:: $(/bin/date -u " +%Y-%m") "
138+ echo "yearmonth= $(/bin/date -u ' +%Y-%m')" >> "$GITHUB_OUTPUT "
139139 shell : bash
140140 - name : Cache Gradle downloads
141141 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
@@ -199,7 +199,7 @@ jobs:
199199 - name : Get year/month for cache key
200200 id : get-date
201201 run : |
202- echo "::set-output name= yearmonth:: $(/bin/date -u " +%Y-%m") "
202+ echo "yearmonth= $(/bin/date -u ' +%Y-%m')" >> "$GITHUB_OUTPUT "
203203 shell : bash
204204
205205 - name : Generate cache key
@@ -260,7 +260,7 @@ jobs:
260260 check-latest : true
261261 - name : Export path to JDK ${{ matrix.java.name }}
262262 id : testjdk-exportpath
263- run : echo "::set-output name= path:: ${JAVA_HOME}"
263+ run : echo "path= ${JAVA_HOME}" >> $GITHUB_OUTPUT
264264 - name : Set up JDK 11
265265 if : ${{ startsWith( inputs.branch, 'wip/2' ) }}
266266 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
@@ -277,7 +277,7 @@ jobs:
277277 check-latest : true
278278 - name : Export path to JDK 11
279279 id : mainjdk-exportpath
280- run : echo "::set-output name= path:: ${JAVA_HOME}"
280+ run : echo "path= ${JAVA_HOME}" >> $GITHUB_OUTPUT
281281 - name : Display exact version of JDK ${{ matrix.java.name }}
282282 run : |
283283 ${{ steps.testjdk-exportpath.outputs.path }}/bin/java -version
0 commit comments