From d25f6c6ffe14383a57e1b93efe1e3c9c434c5929 Mon Sep 17 00:00:00 2001 From: Ox Cart Date: Wed, 13 Sep 2023 10:23:17 -0500 Subject: [PATCH] Use bash shell in browserstack CI --- .github/workflows/browerstack.yml | 2 ++ Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/browerstack.yml b/.github/workflows/browerstack.yml index ce2f138bf6..922aeefd81 100644 --- a/.github/workflows/browerstack.yml +++ b/.github/workflows/browerstack.yml @@ -54,9 +54,11 @@ jobs: mv "${FLUTTER_ROOT}/.pub-cache/bin/protoc-gen-dart" "${HOME}/.pub-cache/bin" - name: Build Android-Lib + shell: bash run: make android-lib ANDROID_ARCH=all - name: Build APK + shell: bash run: | flutter pub get echo "CI=true" >> $GITHUB_ENV diff --git a/Makefile b/Makefile index 8fc007f898..6077d9a271 100644 --- a/Makefile +++ b/Makefile @@ -311,6 +311,7 @@ dart-defines-debug: do-android-debug: $(MOBILE_SOURCES) $(MOBILE_ANDROID_LIB) @set -e; \ trap 'echo "An error occurred during the android debug build process. Exiting..." >&2; exit 1' ERR; \ + blahdi && \ ln -fs $(MOBILE_DIR)/gradle.properties . && \ DART_DEFINES=`make dart-defines-debug` && \ CI="$$CI" && $(GRADLE) -Pdart-defines="$$DART_DEFINES" -PlanternVersion=$(DEBUG_VERSION) -PddClientToken=$$DD_CLIENT_TOKEN -PddApplicationID=$$DD_APPLICATION_ID \