Skip to content

Commit 7d13bc5

Browse files
committed
ci-dist ensure coverage logic with parens
1 parent 94368a3 commit 7d13bc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github-actions/ci-dist/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ runs:
310310
run: echo MYMAKE=make >> $GITHUB_ENV
311311
- name: target-test (no coverage)
312312
shell: bash
313-
if: ${{ fromJSON(inputs.target-all) || fromJSON(inputs.target-test) && !fromJSON(inputs.test-enable-coverage) }}
313+
if: ${{ (fromJSON(inputs.target-all) || fromJSON(inputs.target-test)) && !fromJSON(inputs.test-enable-coverage) }}
314314
env:
315315
AUTOMATED_TESTING: 1
316316
HARNESS_OPTIONS: ${{ inputs.test-harness-options }}
@@ -325,7 +325,7 @@ runs:
325325
fi
326326
- name: target-test (with coverage)
327327
shell: bash
328-
if: ${{ fromJSON(inputs.target-all) || fromJSON(inputs.target-test) && fromJSON(inputs.test-enable-coverage) }}
328+
if: ${{ (fromJSON(inputs.target-all) || fromJSON(inputs.target-test)) && fromJSON(inputs.test-enable-coverage) }}
329329
env:
330330
AUTOMATED_TESTING: 1
331331
HARNESS_OPTIONS: ${{ inputs.test-harness-options }}

0 commit comments

Comments
 (0)