File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ FLUTTER_OS=$OS
12
12
# Detect the latest version
13
13
if [[ $FLUTTER_VERSION == " latest" ]]
14
14
then
15
- echo " Detecting latest version..."
16
- curl -L https://storage.googleapis.com/flutter_infra_release/releases/releases_$OS .json -o " ${RUNNER_TEMP} /flutter_release.json"
17
- CURRENT_RELEASE=$( jq -r " .current_release.${FLUTTER_CHANNEL} " " ${RUNNER_TEMP} /flutter_release.json" )
18
- FLUTTER_VERSION=$( jq -r " .releases | map(select(.hash == \" ${CURRENT_RELEASE} \" )) | .[0].version" " ${RUNNER_TEMP} /flutter_release.json" )
19
- rm " ${RUNNER_TEMP} /flutter_release.json"
15
+ echo " Detecting latest version..."
16
+ curl -L https://storage.googleapis.com/flutter_infra_release/releases/releases_$OS .json -o " ${RUNNER_TEMP} /flutter_release.json"
17
+ CURRENT_RELEASE=$( jq -r " .current_release.${FLUTTER_CHANNEL} " " ${RUNNER_TEMP} /flutter_release.json" )
18
+ FLUTTER_VERSION=$( jq -r " .releases | map(select(.hash == \" ${CURRENT_RELEASE} \" )) | .[0].version" " ${RUNNER_TEMP} /flutter_release.json" )
19
+ rm " ${RUNNER_TEMP} /flutter_release.json"
20
20
fi
21
21
22
22
# OS archive file extension
You can’t perform that action at this time.
0 commit comments