We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fbdc4c commit 08ab174Copy full SHA for 08ab174
action.sh
@@ -96,12 +96,12 @@ if [ ! -d "${FLUTTER_RUNNER_TOOL_CACHE}" ]; then
96
then
97
if [[ -n "${FLUTTER_RELEASE_SHA256}" ]]; then
98
echo -n "Verifying checksum "
99
- if [[ $OS == "linux" ]]
+ if [[ $OS == "macos" ]]
100
101
- echo "${FLUTTER_RELEASE_SHA256} ${DOWNLOAD_PATH}" | sha256sum -c -
102
- else
103
# Note: on macOS put 2 spaces between the hash and the filename
104
echo "${FLUTTER_RELEASE_SHA256} ${DOWNLOAD_PATH}" | shasum -a 256 -c -
+ else
+ echo "${FLUTTER_RELEASE_SHA256} ${DOWNLOAD_PATH}" | sha256sum -c -
105
fi
106
107
else
0 commit comments