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
110110echo " ${FLUTTER_PUB_CACHE} /bin" >> $GITHUB_PATH
111111echo " ${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin" >> $GITHUB_PATH
112112
113+ # Invoke Flutter SDK to suppress the analytics.
114+ ${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter --version --suppress-analytics > /dev/null
115+
113116# Disable Google Analytics and CLI animations
114117${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config --no-analytics
115118${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config --no-cli-animations
116119
117- # Print Flutter config
118- echo " Flutter config:"
119- ${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config
120-
121120# Report success, and print version.
122121echo -e " Succesfully installed Flutter SDK:"
123122${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/dart --version
You can’t perform that action at this time.
0 commit comments