build: Detect flutter path better
This commit is contained in:
parent
cc498e9922
commit
5ac6db6267
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ parts:
|
||||||
override-build: |
|
override-build: |
|
||||||
# Switch to correct Flutter version
|
# Switch to correct Flutter version
|
||||||
source .github/workflows/versions.env
|
source .github/workflows/versions.env
|
||||||
flutter_base=$(dirname $(dirname $(which flutter)))
|
flutter_path=$(which flutter)
|
||||||
|
flutter_base=$(dirname $(dirname $flutter_path))
|
||||||
git -C $flutter_base checkout $FLUTTER_VERSION
|
git -C $flutter_base checkout $FLUTTER_VERSION
|
||||||
flutter doctor
|
flutter doctor
|
||||||
# Workaround for Flutter build error:
|
# Workaround for Flutter build error:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue