We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac6de3 commit 1b906b3Copy full SHA for 1b906b3
action.sh
@@ -32,7 +32,7 @@ if [[ $FLUTTER_VERSION == "latest" ]]; then
32
# Determine the latest Flutter SDK version
33
if [ -f "$FLUTTER_RELEASE_MANIFEST_FILE" ]; then
34
__FLUTTER_CURRENT_RELEASE=$(jq -r ".current_release.${FLUTTER_CHANNEL}" "$FLUTTER_RELEASE_MANIFEST_FILE")
35
- __QUERY="select(.hash == \"${__FLUTTER_CURRENT_RELEASE}\" and .dart_sdk_arch == \"${ARCH}\")"
+ __QUERY="select(.hash == \"${__FLUTTER_CURRENT_RELEASE}\" and .dart_sdk_arch == \"${FLUTTER_ARCH}\")"
36
FLUTTER_VERSION=$(jq -r ".releases | map(${__QUERY}) | .[0].version" "$FLUTTER_RELEASE_MANIFEST_FILE")
37
if [ -z "$FLUTTER_VERSION" ] || [ "$FLUTTER_VERSION" == "null" ]; then
38
echo -e "::error::Failed to determine the latest Flutter SDK version."
0 commit comments