Skip to content

Commit 4d09028

Browse files
Fix checksum command to strictly follow the required format + remove quiet option not support in BusyBox implementation (#46)
1 parent 007b7f7 commit 4d09028

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ runs:
125125
fi
126126
127127
if command -v sha256sum >/dev/null 2>&1; then
128-
if ! echo "$INSTALLATION_SCRIPT_CHECKSUM $script_filepath" | sha256sum --quiet -c -; then
128+
if ! echo "$INSTALLATION_SCRIPT_CHECKSUM $script_filepath" | sha256sum -c -; then
129129
exit 1
130130
fi
131131
elif command -v shasum >/dev/null 2>&1; then
132-
if ! echo "$INSTALLATION_SCRIPT_CHECKSUM $script_filepath" | shasum --quiet -a 256 -c -; then
132+
if ! echo "$INSTALLATION_SCRIPT_CHECKSUM $script_filepath" | shasum -a 256 -c -; then
133133
exit 1
134134
fi
135135
else

0 commit comments

Comments
 (0)