Fix CI Flutter local.properties bootstrap

This commit is contained in:
bponders12-cell 2026-09-01 18:35:51 -04:00
parent acbf183d83
commit 69bde34ac3
1 changed files with 20 additions and 0 deletions

View File

@ -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: |