File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,10 @@ If you are running this on `self-hosted` runner specially with Apple Silicon Mac
109
109
110
110
For more information plase check https://docs.flutter.dev/get-started/install/macos.
111
111
112
+ # ## Flutter uses Google Analytics
113
+
114
+ Starting from `flutter-actions/setup-flutter@v3`, the action will disable **Flutter SDK** built-in **Google Analytics** by default.
115
+
112
116
# # Using outside of GitHub Actions environment
113
117
114
118
This action is designed to be used in GitHub Actions environment. If you want to use it outside of GitHub Actions, you can use the following script :
Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ 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
+ # Disable Google Analytics
114
+ ${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/flutter config --no-analytics
115
+
113
116
# Report success, and print version.
114
117
echo -e " Succesfully installed Flutter SDK:"
115
118
${FLUTTER_RUNNER_TOOL_CACHE} /flutter/bin/dart --version
You can’t perform that action at this time.
0 commit comments