From d04dcabf860ff17b34ac2a7a780cdb17ef224574 Mon Sep 17 00:00:00 2001 From: shreya-mishra Date: Mon, 9 Oct 2023 18:27:50 +0530 Subject: [PATCH] fix the build release command --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 5395ac0a..a03d9ea1 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -41,7 +41,7 @@ jobs: run: cd android && chmod +x ./gradlew - name: build release - run: cd android && ./gradlew assembleRelease + run: npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && cd android && ./gradlew assembleDebug - name: list files run: ls -lrt android/app/build/outputs/apk/release