From a8962f9659af2bb605ef84193ba54cd235d83ea2 Mon Sep 17 00:00:00 2001 From: Xinyi Ye Date: Fri, 23 Feb 2024 13:15:49 -0800 Subject: [PATCH] Update android-ci.yml --- .github/workflows/android-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 162cae6..2d0b267 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -20,6 +20,9 @@ jobs: java-version: '11' distribution: 'temurin' + - name: Install Flutter packages for example project + run: cd example && flutter pub get + - name: Generate local.properties run: | echo "flutter.sdk=$(which flutter | sed 's|/bin/flutter||')" > example/android/local.properties @@ -27,4 +30,4 @@ jobs: echo "flutter.buildMode=debug" >> example/android/local.properties - name: Unit Test - run: cd example/android && ./gradlew testDebugUnitTest \ No newline at end of file + run: cd android && ./gradlew testDebugUnitTest \ No newline at end of file