diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 04b175b..162cae6 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -22,7 +22,7 @@ jobs: - name: Generate local.properties run: | - echo "flutter.sdk=$(flutter sdk-path)" > example/android/local.properties + echo "flutter.sdk=$(which flutter | sed 's|/bin/flutter||')" > example/android/local.properties echo "sdk.dir=${ANDROID_HOME}" >> example/android/local.properties echo "flutter.buildMode=debug" >> example/android/local.properties