File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ---
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104104 with :
105105 path : ${{ steps.native-build-key.outputs.artifact }}
106106 # Bump the version when native build commands change.
107- key : expo-native-build-v1 -${{ runner.os }}-${{ matrix.expo-sdk }}-${{ matrix.platform }}-${{ matrix.run-e2e == true && 'e2e' || 'build' }}-${{ env.E2E_INSTANCE_NAME }}-${{ steps.native-build-key.outputs.hash }}
107+ key : expo-native-build-minified-v2 -${{ runner.os }}-${{ matrix.expo-sdk }}-${{ matrix.platform }}-${{ matrix.run-e2e == true && 'e2e' || 'build' }}-${{ env.E2E_INSTANCE_NAME }}-${{ steps.native-build-key.outputs.hash }}
108108
109109 - if : steps.native-build-cache.outputs.cache-hit != 'true'
110110 uses : pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
@@ -207,7 +207,9 @@ jobs:
207207 - name : Build Android fixture
208208 if : matrix.platform == 'android' && steps.native-build-cache.outputs.cache-hit != 'true'
209209 working-directory : ${{ env.FIXTURE_DIR }}
210- run : pnpm build:android
210+ run : |
211+ pnpm build:android -Pandroid.enableMinifyInReleaseBuilds=true -Pandroid.enableShrinkResourcesInReleaseBuilds=true
212+ test -s android/app/build/outputs/mapping/release/mapping.txt
211213
212214 - name : Prebuild iOS fixture
213215 if : matrix.platform == 'ios' && steps.native-build-cache.outputs.cache-hit != 'true'
You can’t perform that action at this time.
0 commit comments