File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -110,14 +110,13 @@ echo "PUB_CACHE=${FLUTTER_PUB_CACHE}" >> $GITHUB_ENV
110
110
echo " ${FLUTTER_PUB_CACHE} /bin" >> $GITHUB_PATH
111
111
echo " ${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin" >> $GITHUB_PATH
112
112
113
+ # Invoke Flutter SDK to suppress the analytics.
114
+ ${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter --version --suppress-analytics > /dev/null
115
+
113
116
# Disable Google Analytics and CLI animations
114
117
${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config --no-analytics
115
118
${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config --no-cli-animations
116
119
117
- # Print Flutter config
118
- echo " Flutter config:"
119
- ${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config
120
-
121
120
# Report success, and print version.
122
121
echo -e " Succesfully installed Flutter SDK:"
123
122
${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/dart --version
You can’t perform that action at this time.
0 commit comments