File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ if [ ! -d "${FLUTTER_RUNNER_TOOL_CACHE}" ]; then
133133
134134 # Extracting installation archive
135135 EXTRACT_ARCHIVE_CODE=0
136- echo " Extracting Flutter SDK archive..."
136+ echo -n " Extracting Flutter SDK archive..."
137137 if [[ $OS == linux ]]
138138 then
139139 tar -C " ${FLUTTER_RUNNER_TOOL_CACHE} " -xf ${DOWNLOAD_PATH} > /dev/null
@@ -142,7 +142,9 @@ if [ ! -d "${FLUTTER_RUNNER_TOOL_CACHE}" ]; then
142142 unzip ${DOWNLOAD_PATH} -d " ${FLUTTER_RUNNER_TOOL_CACHE} " > /dev/null
143143 EXTRACT_ARCHIVE_CODE=$?
144144 fi
145- if [ $EXTRACT_ARCHIVE_CODE -ne 0 ]; then
145+ if [ $EXTRACT_ARCHIVE_CODE -eq 0 ]; then
146+ echo " : OK"
147+ else
146148 echo -e " ::error::Failed to extract Flutter SDK archive."
147149 exit 1
148150 fi
@@ -165,6 +167,7 @@ ${FLUTTER_RUNNER_TOOL_CACHE}/flutter/bin/flutter config --no-analytics 2&>1 > /d
165167${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config --no-cli-animations 2& > 1 > /dev/null
166168
167169# Report success, and print version.
168- echo -e " Succesfully installed Flutter SDK:"
170+ echo " Succesfully installed Flutter SDK:"
171+ echo " ------------------------------------------------------------------------------"
169172${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/dart --version
170173${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter --version
You can’t perform that action at this time.
0 commit comments