You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash -eo pipefail
if [ ! -d ~/development/flutter ]; then
mkdir -p ~/development
if [ "$(uname)" == 'Darwin' ]; then
curl -o flutter_sdk.zip https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.10.7-stable.zip
unzip -qq flutter_sdk.zip -d ~/development
rm flutter_sdk.zip
elif [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then
curl -o flutter_sdk.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.10.7-stable.tar.xz
tar xf flutter_sdk.tar.xz -C ~/development
rm -f flutter_sdk.tar.xz
else
echo "Your platform ($(uname -a)) is not supported."
exit 1
fi
fi
echo 'export PATH=~/development/flutter/bin:$PATH' >> $BASH_ENV
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 240 100 240 0 0 5853 0 --:--:-- --:--:-- --:--:-- 5853
tar: This does not look like a tar archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Exited with code exit status 2
CircleCI received exit code 2
The text was updated successfully, but these errors were encountered:
Looking at the current version of src/scripts/install-sdk.sh, I don't even understand how it can work. There's no command to unzip / untar the flutter package to the $INSTALL_LOCATION
Orb version:
Tried on 1.1.0, but I'm not expecting this to work on latest version.
What happened:
Flutter 3.10.7 is not installed using this orb.
Expected behavior:
Flutter 3.10.7 is correctly installed.
Additional Information:
Flutter 3.10.7 is release as an hotfix (see this page), and so is not available as an archived package to be downloaded from https://storage.googleapis.com.
Full output follows:
The text was updated successfully, but these errors were encountered: