Skip to content

Commit deb053a

Browse files
committed
fix
1 parent ba4c067 commit deb053a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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' ) }}
9999
uses: actions/[email protected]
100100
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' ) }}
105105
uses: actions/[email protected]
106106
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' ) }}
148148
uses: actions/[email protected]
149149
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' ) }}
154154
uses: actions/[email protected]
155155

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' ) }}
264264
uses: actions/[email protected]
265265
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' ) }}
271271
uses: actions/[email protected]
272272
with:
273273
distribution: 'temurin'

0 commit comments

Comments
 (0)