From 69bde34ac3c58f002c917749d40055d4f40fd007 Mon Sep 17 00:00:00 2001 From: bponders12-cell Date: Tue, 1 Sep 2026 18:35:51 -0400 Subject: [PATCH] Fix CI Flutter local.properties bootstrap --- .github/workflows/android-build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 2359b7b..7ff15ea 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -46,6 +46,16 @@ jobs: channel: stable cache: true + - name: Create Flutter local.properties + shell: bash + run: | + set -euo pipefail + test -n "${FLUTTER_ROOT:-}" || { echo "FLUTTER_ROOT is not set"; exit 1; } + test -d "$FLUTTER_ROOT" || { echo "Flutter SDK not found at $FLUTTER_ROOT"; exit 1; } + printf 'flutter.sdk=%s\n' "$FLUTTER_ROOT" > android/local.properties + test -s android/local.properties + cat android/local.properties + - name: Provision Android SDK shell: bash run: | @@ -134,6 +144,16 @@ jobs: channel: stable cache: true + - name: Create Flutter local.properties + shell: bash + run: | + set -euo pipefail + test -n "${FLUTTER_ROOT:-}" || { echo "FLUTTER_ROOT is not set"; exit 1; } + test -d "$FLUTTER_ROOT" || { echo "Flutter SDK not found at $FLUTTER_ROOT"; exit 1; } + printf 'flutter.sdk=%s\n' "$FLUTTER_ROOT" > android/local.properties + test -s android/local.properties + cat android/local.properties + - name: Provision Android SDK shell: bash run: |