fix(mobile): add expo-asset so the release bundle can resolve it #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # TEMPORARY diagnostic workflow — delete once the mobile build is fixed. | |
| # | |
| # Mobile Release has failed on every tag since v0.2.1, always with the same | |
| # opaque message: "Gradle build failed with unknown error." The real Gradle | |
| # output lives on EAS servers behind auth, so this reproduces the Android | |
| # build on a plain runner and prints the failure into the Actions log. | |
| # | |
| # No Expo credentials are needed: `expo prebuild` generates a release | |
| # signingConfig that falls back to the debug keystore, so assembleRelease | |
| # compiles everything without touching the real signing material. | |
| name: Mobile Gradle Debug | |
| # Runs on push to this branch only: a workflow_dispatch workflow has to live | |
| # on the default branch to be dispatchable, and this one is throwaway. | |
| on: | |
| push: | |
| branches: | |
| - debug/mobile-gradle-log | |
| jobs: | |
| gradle: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'pnpm' | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Prebuild Android project | |
| working-directory: apps/mobile | |
| run: npx expo prebuild --platform android --no-install | |
| - name: Gradle build (the actual failure) | |
| working-directory: apps/mobile/android | |
| run: ./gradlew assembleRelease --stacktrace --no-daemon | |
| - name: Show Gradle failure detail | |
| if: failure() | |
| working-directory: apps/mobile/android | |
| run: | | |
| echo "=== gradlew rerun with --info, tail only ===" | |
| ./gradlew assembleRelease --info --no-daemon 2>&1 | tail -300 || true |