File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ VERSION="${3:-2.0.2}"
8
8
OS=" ${2:- Linux} "
9
9
OS=$( echo " $OS " | awk ' {print tolower($0)}' )
10
10
11
- echo " Installing Flutter SDK version \" ${VERSION} \" from the ${CHANNEL} channel on ${OS} "
12
-
13
11
# OS archive file extension
14
12
EXT=" zip"
15
13
if [[ $OS == linux ]]
@@ -23,6 +21,8 @@ FLUTTER_RUNNER_TOOL_CACHE="${RUNNER_TOOL_CACHE}/${VERSION}-${CHANNEL}"
23
21
# Check if Flutter SDK already exists
24
22
# Otherwise download and install
25
23
if [ ! -d " ${FLUTTER_RUNNER_TOOL_CACHE} " ]; then
24
+ echo " Installing Flutter SDK version \" ${VERSION} \" from the ${CHANNEL} channel on ${OS} "
25
+
26
26
# Calculate download Url. Based on:
27
27
# https://flutter.dev/docs/development/tools/sdk/releases
28
28
PREFIX=" https://storage.googleapis.com/flutter_infra_release/releases"
@@ -49,9 +49,10 @@ if [ ! -d "${FLUTTER_RUNNER_TOOL_CACHE}" ]; then
49
49
echo -e " ::error::Download failed! Please check passed arguments."
50
50
exit 1
51
51
fi
52
-
53
52
fi
54
53
54
+ echo " Installed Flutter SDK version \" ${VERSION} \" !"
55
+
55
56
# Configure pub to use a fixed location.
56
57
echo " PUB_CACHE=${HOME} /.pub-cache" >> $GITHUB_ENV
57
58
You can’t perform that action at this time.
0 commit comments