Skip to content

Commit 0d6d860

Browse files
committed
Fix syntax error.
1 parent 31f3859 commit 0d6d860

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Diff for: action.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,15 @@ runs:
143143
- name: Done report
144144
if: inputs.parallel-finished == 'true'
145145
shell: ${{ startsWith(runner.os, 'Windows') && 'pwsh' || 'bash' }}
146-
run: >-
146+
run: |
147147
if [ ! -f coveralls ]; then
148148
echo "Coveralls binary not found."
149149
[ "${{ inputs.fail-on-error }}" == "false" ] && exit 0
150150
exit 1
151-
fi \
152-
coveralls done
153-
${{ inputs.debug == 'true' && '--debug' || '' }}
154-
${{ inputs.measure == 'true' && '--measure' || '' }}
151+
fi
152+
~/bin/coveralls done \
153+
${{ inputs.debug == 'true' && '--debug' || '' }} \
154+
${{ inputs.measure == 'true' && '--measure' || '' }} \
155155
${{ inputs.fail-on-error == 'false' && '--no-fail' || '' }}
156156
env:
157157
COVERALLS_DEBUG: ${{ inputs.debug }}
@@ -166,20 +166,20 @@ runs:
166166
- name: Coverage report
167167
if: inputs.parallel-finished != 'true'
168168
shell: ${{ startsWith(runner.os, 'Windows') && 'pwsh' || 'bash' }}
169-
run: >-
169+
run: |
170170
if [ ! -f coveralls ]; then
171171
echo "Coveralls binary not found."
172172
[ "${{ inputs.fail-on-error }}" == "false" ] && exit 0
173173
exit 1
174-
fi \
175-
coveralls report
176-
${{ inputs.debug == 'true' && '--debug' || '' }}
177-
${{ inputs.measure == 'true' && '--measure' || '' }}
178-
${{ inputs.fail-on-error == 'false' && '--no-fail' || '' }}
179-
${{ inputs.allow-empty == 'true' && '--allow-empty' || '' }}
180-
${{ inputs.base-path && format('--base-path {0}', inputs.base-path) || '' }}
181-
${{ inputs.format && format('--format {0}', inputs.format) || '' }}
182-
${{ inputs.file || inputs.path-to-lcov }}
174+
fi
175+
~/bin/coveralls report \
176+
${{ inputs.debug == 'true' && '--debug' || '' }} \
177+
${{ inputs.measure == 'true' && '--measure' || '' }} \
178+
${{ inputs.fail-on-error == 'false' && '--no-fail' || '' }} \
179+
${{ inputs.allow-empty == 'true' && '--allow-empty' || '' }} \
180+
${{ inputs.base-path && format('--base-path {0}', inputs.base-path) || '' }} \
181+
${{ inputs.format && format('--format {0}', inputs.format) || '' }} \
182+
${{ inputs.file || inputs.path-to-lcov }} \
183183
${{ inputs.files }}
184184
env:
185185
COVERALLS_DEBUG: ${{ inputs.debug }}

0 commit comments

Comments
 (0)