Skip to content

Commit a6db77a

Browse files
committed
Fix call to binary, given that ~/bin/ is in PATH.
1 parent 8c75162 commit a6db77a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: action.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ runs:
144144
if: inputs.parallel-finished == 'true'
145145
shell: ${{ startsWith(runner.os, 'Windows') && 'pwsh' || 'bash' }}
146146
run: >-
147-
if [ ! -f ~/bin/coveralls ]; then
147+
if [ ! -f coveralls ]; then
148148
echo "Coveralls binary not found."
149149
[ "${{ inputs.fail-on-error }}" == "false" ] && exit 0
150150
exit 1
151151
fi
152-
~/bin/coveralls done
152+
coveralls done
153153
${{ inputs.debug == 'true' && '--debug' || '' }}
154154
${{ inputs.measure == 'true' && '--measure' || '' }}
155155
${{ inputs.fail-on-error == 'false' && '--no-fail' || '' }}
@@ -167,12 +167,12 @@ runs:
167167
if: inputs.parallel-finished != 'true'
168168
shell: ${{ startsWith(runner.os, 'Windows') && 'pwsh' || 'bash' }}
169169
run: >-
170-
if [ ! -f ~/bin/coveralls ]; then
170+
if [ ! -f coveralls ]; then
171171
echo "Coveralls binary not found."
172172
[ "${{ inputs.fail-on-error }}" == "false" ] && exit 0
173173
exit 1
174174
fi
175-
~/bin/coveralls report
175+
coveralls report
176176
${{ inputs.debug == 'true' && '--debug' || '' }}
177177
${{ inputs.measure == 'true' && '--measure' || '' }}
178178
${{ inputs.fail-on-error == 'false' && '--no-fail' || '' }}

0 commit comments

Comments
 (0)