@@ -95,13 +95,13 @@ jobs:
95
95
# refresh cache every month to avoid unlimited growth
96
96
key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
97
97
- name : Set up JDK 11
98
- if : contains( inputs.branch, 'wip/2' )
98
+ if : ${{ contains( inputs.branch, 'wip/2' ) }}
99
99
100
100
with :
101
101
distribution : ' temurin'
102
102
java-version : 11
103
103
- name : Set up JDK 17
104
- if : !contains( inputs.branch, 'wip/2' )
104
+ if : ${{ !contains( inputs.branch, 'wip/2' ) }}
105
105
106
106
with :
107
107
distribution : ' temurin'
@@ -144,13 +144,13 @@ jobs:
144
144
# refresh cache every month to avoid unlimited growth
145
145
key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
146
146
- name : Set up JDK 11
147
- if : contains( inputs.branch, 'wip/2' )
147
+ if : ${{ contains( inputs.branch, 'wip/2' ) }}
148
148
149
149
with :
150
150
distribution : ' temurin'
151
151
java-version : 11
152
152
- name : Set up JDK 17
153
- if : !contains( inputs.branch, 'wip/2' )
153
+ if : ${{ !contains( inputs.branch, 'wip/2' ) }}
154
154
155
155
156
156
with :
@@ -260,14 +260,14 @@ jobs:
260
260
id : testjdk-exportpath
261
261
run : echo "::set-output name=path::${JAVA_HOME}"
262
262
- name : Set up JDK 11
263
- if : contains( inputs.branch, 'wip/2' )
263
+ if : ${{ contains( inputs.branch, 'wip/2' ) }}
264
264
265
265
with :
266
266
distribution : ' temurin'
267
267
java-version : 11
268
268
check-latest : true
269
269
- name : Set up JDK 17
270
- if : !contains( inputs.branch, 'wip/2' )
270
+ if : ${{ !contains( inputs.branch, 'wip/2' ) }}
271
271
272
272
with :
273
273
distribution : ' temurin'
0 commit comments