Skip to content

Commit 31f3859

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

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
@@ -98,7 +98,7 @@ runs:
9898
run: |
9999
mkdir -p ~/bin/
100100
cd ~/bin/
101-
if [ $COVERAGE_REPORTER_VERSION = "latest" ]
101+
if [ $COVERAGE_REPORTER_VERSION == "latest" ]
102102
then
103103
asset_path=latest/download
104104
else
@@ -114,7 +114,7 @@ runs:
114114
# Verify the downloaded binary
115115
if ! grep coveralls-linux.tar.gz coveralls-checksums.txt | sha256sum --check; then
116116
echo "Checksum verification failed."
117-
[ "${{ inputs.fail-on-error }}" = "false" ] && exit 0
117+
[ "${{ inputs.fail-on-error }}" == "false" ] && exit 0
118118
exit 1
119119
fi
120120
tar -xzf coveralls-linux.tar.gz
@@ -148,7 +148,7 @@ runs:
148148
echo "Coveralls binary not found."
149149
[ "${{ inputs.fail-on-error }}" == "false" ] && exit 0
150150
exit 1
151-
fi
151+
fi \
152152
coveralls done
153153
${{ inputs.debug == 'true' && '--debug' || '' }}
154154
${{ inputs.measure == 'true' && '--measure' || '' }}
@@ -171,7 +171,7 @@ runs:
171171
echo "Coveralls binary not found."
172172
[ "${{ inputs.fail-on-error }}" == "false" ] && exit 0
173173
exit 1
174-
fi
174+
fi \
175175
coveralls report
176176
${{ inputs.debug == 'true' && '--debug' || '' }}
177177
${{ inputs.measure == 'true' && '--measure' || '' }}

0 commit comments

Comments
 (0)