@@ -96,13 +96,13 @@ jobs:
9696 key : gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
9797 - name : Set up JDK 11
989899- if : ${{ startsWith ( inputs.branch, 'wip/2' ) }}
99+ if : ${{ contains ( inputs.branch, 'wip/2' ) }}
100100 with :
101101 distribution : ' temurin'
102102 java-version : 11
103103 - name : Set up JDK 17
104104105- if : ${{ !startsWith ( inputs.branch, 'wip/2' ) }}
105+ if : ${{ !contains ( inputs.branch, 'wip/2' ) }}
106106 with :
107107 distribution : ' temurin'
108108 java-version : 11
@@ -145,13 +145,13 @@ jobs:
145145 key : gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
146146 - name : Set up JDK 11
147147148- if : ${{ startsWith ( inputs.branch, 'wip/2' ) }}
148+ if : ${{ contains ( inputs.branch, 'wip/2' ) }}
149149 with :
150150 distribution : ' temurin'
151151 java-version : 11
152152 - name : Set up JDK 17
153153154- if : ${{ !startsWith ( inputs.branch, 'wip/2' ) }}
154+ if : ${{ !contains ( inputs.branch, 'wip/2' ) }}
155155 with :
156156 distribution : ' temurin'
157157 java-version : 17
@@ -264,14 +264,14 @@ jobs:
264264 distribution : ' temurin'
265265 java-version : 11
266266 check-latest : true
267- if : ${{ startsWith ( inputs.branch, 'wip/2' ) }}
267+ if : ${{ contains ( inputs.branch, 'wip/2' ) }}
268268 - name : Set up JDK 17
269269270270 with :
271271 distribution : ' temurin'
272272 java-version : 17
273273 check-latest : true
274- if : ${{ !startsWith ( inputs.branch, 'wip/2' ) }}
274+ if : ${{ !contains ( inputs.branch, 'wip/2' ) }}
275275 - name : Export path to JDK ${{ matrix.java.name }}
276276 id : mainjdk-exportpath
277277 run : echo "::set-output name=path::${JAVA_HOME}"
0 commit comments