13 lines
389 B
Bash
13 lines
389 B
Bash
#!/usr/bin/env bash
|
|
|
|
BRANCH=$1
|
|
|
|
if [ "$BRANCH" == "dev" ]
|
|
then
|
|
# TODO Flutter dev branch is currently broken so we're unable to test MacOS.
|
|
echo "TODO: Skipping macOS testing due to Flutter dev branch issue. Switching branch to stable."
|
|
BRANCH=stable
|
|
fi
|
|
|
|
git clone https://github.com/flutter/flutter.git --depth 1 -b $BRANCH _flutter
|
|
echo "::add-path::$GITHUB_WORKSPACE/_flutter/bin" |