Fix CI Flutter local.properties bootstrap
This commit is contained in:
parent
acbf183d83
commit
69bde34ac3
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue