From 1c9c87fee3cd3c0dae9719a13fea9bb5d9896942 Mon Sep 17 00:00:00 2001 From: lucas Date: Wed, 11 Dec 2024 18:33:23 +0000 Subject: [PATCH] use debug/release for android --- .github/workflows/sample-application-expo.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sample-application-expo.yml b/.github/workflows/sample-application-expo.yml index 25d3244c0..a3e74805e 100644 --- a/.github/workflows/sample-application-expo.yml +++ b/.github/workflows/sample-application-expo.yml @@ -104,8 +104,9 @@ jobs: if: ${{ matrix.platform == 'android' }} working-directory: samples/expo/android run: | - ./gradlew assembleRelease - echo "> Building Native project. OK" + [[ "${{ matrix.build-type }}" == "production" ]] && CONFIG='Release' || CONFIG='Debug' + echo "Building $CONFIG" + ./gradlew ":app:assemble$CONFIG" -PreactNativeArchitectures=x86 - name: Build iOS App if: ${{ matrix.platform == 'ios' }}