File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,14 @@ if [[ -z "${ACTIONS_ID_TOKEN_REQUEST_URL}" ]] && [[ -z "${ACTIONS_ID_TOKEN_REQUE
5
5
exit 0
6
6
fi
7
7
8
- if [ ! " $( command -v dart) " ] && [ ! " $( command -v flutter) " ]; then
9
- echo " ::error::Flutter is not installed,"
10
- echo " See https://github.com/flutter-actions/setup-flutter for more details."
8
+ # Check if Dart & Flutter SDK is installed
9
+ if [ ! " $( command -v flutter) " ]; then
10
+ echo ' ::warning::Flutter is not installed,'
11
+ echo ' Please use "uses: flutter-actions/setup-flutter@v4" to setup Dart & Flutter SDK.'
12
+ fi
13
+ if [ ! " $( command -v dart) " ]; then
14
+ echo ' ::error::Dark is not installed'
15
+ echo ' Please use "uses: dart-lang/setup-dart@v1" or "uses: flutter-actions/setup-flutter@v4" to setup Dart or Flutter SDK.'
11
16
exit 1
12
17
fi
13
18
You can’t perform that action at this time.
0 commit comments