We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b947f9b commit 3c4d4c4Copy full SHA for 3c4d4c4
action.sh
@@ -103,6 +103,10 @@ if [ ! -d "${FLUTTER_RUNNER_TOOL_CACHE}" ]; then
103
FLUTTER_BUILD="flutter_${FLUTTER_BUILD_OS}_${FLUTTER_VERSION}-${FLUTTER_CHANNEL}.${EXT}"
104
FLUTTER_DOWNLOAD_URL=${FLUTTER_DOWNLOAD_URL:-"${FLUTTER_RELEASE_BASE_URL}/${FLUTTER_CHANNEL}/${FLUTTER_OS}/${FLUTTER_BUILD}"}
105
106
+ if [[ -z "${FLUTTER_DOWNLOAD_URL}" ]]; then
107
+ echo -e "::error::Failed to determine the download URL for Flutter SDK."
108
+ exit 1
109
+ fi
110
# Download installation archive
111
echo "Downloading ${FLUTTER_DOWNLOAD_URL}"
112
DOWNLOAD_PATH="${RUNNER_TEMP}/${FLUTTER_BUILD}"
0 commit comments