Skip to content

Commit 62ef27d

Browse files
committed
fix code indent
1 parent 7c77bef commit 62ef27d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

action.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ FLUTTER_OS=$OS
1212
# Detect the latest version
1313
if [[ $FLUTTER_VERSION == "latest" ]]
1414
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"
2020
fi
2121

2222
# OS archive file extension

0 commit comments

Comments
 (0)