Fix: let Gradle handle JS bundling
Some checks failed
Docker Build (Unsigned APK) / Build unsigned APK (push) Failing after 8m39s
Some checks failed
Docker Build (Unsigned APK) / Build unsigned APK (push) Failing after 8m39s
This commit is contained in:
12
.github/workflows/docker-build.yml
vendored
12
.github/workflows/docker-build.yml
vendored
@@ -19,19 +19,9 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Bundle JS
|
|
||||||
run: |
|
|
||||||
mkdir -p android/app/src/main/assets
|
|
||||||
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
|
|
||||||
|
|
||||||
- name: Build unsigned APK
|
- name: Build unsigned APK
|
||||||
working-directory: android
|
working-directory: android
|
||||||
run: ./gradlew assembleRelease --no-daemon -x bundleReleaseJsAndAssets
|
run: ./gradlew assembleRelease --no-daemon
|
||||||
|
|
||||||
- name: Upload APK
|
- name: Upload APK
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user