File tree 1 file changed +6
-3
lines changed
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
133
133
134
134
# Extracting installation archive
135
135
EXTRACT_ARCHIVE_CODE=0
136
- echo " Extracting Flutter SDK archive..."
136
+ echo -n " Extracting Flutter SDK archive..."
137
137
if [[ $OS == linux ]]
138
138
then
139
139
tar -C " ${FLUTTER_RUNNER_TOOL_CACHE} " -xf ${DOWNLOAD_PATH} > /dev/null
@@ -142,7 +142,9 @@ if [ ! -d "${FLUTTER_RUNNER_TOOL_CACHE}" ]; then
142
142
unzip ${DOWNLOAD_PATH} -d " ${FLUTTER_RUNNER_TOOL_CACHE} " > /dev/null
143
143
EXTRACT_ARCHIVE_CODE=$?
144
144
fi
145
- if [ $EXTRACT_ARCHIVE_CODE -ne 0 ]; then
145
+ if [ $EXTRACT_ARCHIVE_CODE -eq 0 ]; then
146
+ echo " : OK"
147
+ else
146
148
echo -e " ::error::Failed to extract Flutter SDK archive."
147
149
exit 1
148
150
fi
@@ -165,6 +167,7 @@ ${FLUTTER_RUNNER_TOOL_CACHE}/flutter/bin/flutter config --no-analytics 2&>1 > /d
165
167
${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config --no-cli-animations 2& > 1 > /dev/null
166
168
167
169
# Report success, and print version.
168
- echo -e " Succesfully installed Flutter SDK:"
170
+ echo " Succesfully installed Flutter SDK:"
171
+ echo " ------------------------------------------------------------------------------"
169
172
${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/dart --version
170
173
${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter --version
You can’t perform that action at this time.
0 commit comments