Skip to content

Commit 2fbdc4c

Browse files
committed
Fix macOS shasum issue
1 parent 305e988 commit 2fbdc4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ if [ ! -d "${FLUTTER_RUNNER_TOOL_CACHE}" ]; then
100100
then
101101
echo "${FLUTTER_RELEASE_SHA256} ${DOWNLOAD_PATH}" | sha256sum -c -
102102
else
103-
echo "${FLUTTER_RELEASE_SHA256} ${DOWNLOAD_PATH}" | shasum -a 256 -c -
103+
# Note: on macOS put 2 spaces between the hash and the filename
104+
echo "${FLUTTER_RELEASE_SHA256} ${DOWNLOAD_PATH}" | shasum -a 256 -c -
104105
fi
105106
fi
106107
else

0 commit comments

Comments
 (0)