@@ -95,13 +95,13 @@ jobs:
9595 # refresh cache every month to avoid unlimited growth
9696 key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
9797 - name : Set up JDK 11
98- if : contains( inputs.branch, 'wip/2' )
98+ if : ${{ contains( inputs.branch, 'wip/2' ) }}
9999100100 with :
101101 distribution : ' temurin'
102102 java-version : 11
103103 - name : Set up JDK 17
104- if : !contains( inputs.branch, 'wip/2' )
104+ if : ${{ !contains( inputs.branch, 'wip/2' ) }}
105105106106 with :
107107 distribution : ' temurin'
@@ -144,13 +144,13 @@ jobs:
144144 # refresh cache every month to avoid unlimited growth
145145 key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
146146 - name : Set up JDK 11
147- if : contains( inputs.branch, 'wip/2' )
147+ if : ${{ contains( inputs.branch, 'wip/2' ) }}
148148149149 with :
150150 distribution : ' temurin'
151151 java-version : 11
152152 - name : Set up JDK 17
153- if : !contains( inputs.branch, 'wip/2' )
153+ if : ${{ !contains( inputs.branch, 'wip/2' ) }}
154154155155
156156 with :
@@ -260,14 +260,14 @@ jobs:
260260 id : testjdk-exportpath
261261 run : echo "::set-output name=path::${JAVA_HOME}"
262262 - name : Set up JDK 11
263- if : contains( inputs.branch, 'wip/2' )
263+ if : ${{ contains( inputs.branch, 'wip/2' ) }}
264264265265 with :
266266 distribution : ' temurin'
267267 java-version : 11
268268 check-latest : true
269269 - name : Set up JDK 17
270- if : !contains( inputs.branch, 'wip/2' )
270+ if : ${{ !contains( inputs.branch, 'wip/2' ) }}
271271272272 with :
273273 distribution : ' temurin'
0 commit comments