We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90342cf commit 1ea6da3Copy full SHA for 1ea6da3
action.sh
@@ -27,9 +27,10 @@ then
27
fi
28
29
# Apple Intel or Apple Silicon
30
-if [[ $OS == macos && $ARCH == 'arm64' && $FLUTTER_VERSION == 3.* ]]
+if [[ $OS == "macos" && $ARCH == "arm64" && $FLUTTER_VERSION < 3.* ]]
31
then
32
- FLUTTER_OS="${FLUTTER_OS}_$ARCH"
+ echo -e "::error::Flutter SDK version \"${FLUTTER_VERSION}\" is not supported on Apple Silicon. Please use version 3.0.0 or higher."
33
+ exit 1
34
35
36
# Flutter runner tool cache and pub cache
0 commit comments