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 620f8d7 commit 7bf195fCopy full SHA for 7bf195f
action.sh
@@ -34,7 +34,8 @@ if [[ $FLUTTER_VERSION == "latest" ]]; then
34
__HASH=$(jq -r ".current_release.${FLUTTER_CHANNEL}" "$FLUTTER_RELEASE_MANIFEST_FILE")
35
__QUERY="select(.hash == \"${__HASH}\" and .dart_sdk_arch == \"${FLUTTER_ARCH}\")"
36
37
- # Find the version with matching architecture
+ # Find the version with matching current release hash and architecture
38
+ # If no matching version is found, try to find the version with matching channel and architecture instead
39
FLUTTER_VERSION=$(jq -r ".releases | map(${__QUERY}) | .[0].version" "$FLUTTER_RELEASE_MANIFEST_FILE")
40
if [ -z "$FLUTTER_VERSION" ] || [ "$FLUTTER_VERSION" == "null" ]; then
41
0 commit comments