Skip to content

Commit 5b184c6

Browse files
committed
fix
1 parent d5b8c15 commit 5b184c6

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
@@ -96,13 +96,13 @@ jobs:
9696
key: gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
9797
- name: Set up JDK 11
9898
uses: actions/[email protected]
99-
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
104104
uses: actions/[email protected]
105-
if: ${{ !startsWith( inputs.branch, 'wip/2' ) }}
105+
if: ${{ !contains( inputs.branch, 'wip/2' ) }}
106106
with:
107107
distribution: 'temurin'
108108
java-version: 17
@@ -145,13 +145,13 @@ jobs:
145145
key: gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
146146
- name: Set up JDK 11
147147
uses: actions/[email protected]
148-
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
153153
uses: actions/[email protected]
154-
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
269269
uses: actions/[email protected]
270270
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 11
276276
id: mainjdk-exportpath
277277
run: echo "::set-output name=path::${JAVA_HOME}"

0 commit comments

Comments
 (0)