84
84
- name : Install xcpretty
85
85
run : gem install xcpretty
86
86
87
- # Cache Xcode derived data
88
- - name : Cache Xcode Derived Data
89
- uses : actions/cache@v4
90
- with :
91
- path : apps/external-display-example/ios/build
92
- key : build-${{ github.sha }}
93
-
94
87
# Build the iOS app using Xcode (with xcpretty)
95
88
- name : Build iOS App (Debug) with xcpretty
96
89
working-directory : apps/external-display-example/ios
@@ -148,13 +141,6 @@ jobs:
148
141
- name : Install xcpretty
149
142
run : gem install xcpretty
150
143
151
- # Cache Xcode derived data
152
- - name : Cache Xcode Derived Data
153
- uses : actions/cache@v4
154
- with :
155
- path : apps/external-display-example/ios/build
156
- key : build-${{ github.sha }}
157
-
158
144
# Build the iOS app using Xcode (with xcpretty)
159
145
- name : Build iOS App (Debug) with xcpretty
160
146
working-directory : apps/external-display-example/ios
@@ -177,7 +163,7 @@ jobs:
177
163
- name : Disable New Architecture in JSON
178
164
working-directory : apps/external-display-example
179
165
run : |
180
- sed -i '' ' s/"newArchEnabled": true/"newArchEnabled": false/g' app.json
166
+ sed -i 's/"newArchEnabled": true/"newArchEnabled": false/g' app.json
181
167
182
168
# Set up Node.js
183
169
- name : Set up Node.js
@@ -221,6 +207,10 @@ jobs:
221
207
working-directory : apps/external-display-example
222
208
run : yarn expo prebuild --platform android
223
209
210
+ - name : Set Gradle JVM options
211
+ working-directory : apps/external-display-example
212
+ run : echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m" >> android/gradle.properties
213
+
224
214
# Build the APK using Gradle (without running on a device)
225
215
- name : Build Android APK
226
216
working-directory : apps/external-display-example/android
@@ -275,6 +265,10 @@ jobs:
275
265
working-directory : apps/external-display-example
276
266
run : yarn expo prebuild --platform android
277
267
268
+ - name : Set Gradle JVM options
269
+ working-directory : apps/external-display-example
270
+ run : echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m" >> android/gradle.properties
271
+
278
272
# Build the APK using Gradle (without running on a device)
279
273
- name : Build Android APK
280
274
working-directory : apps/external-display-example/android
0 commit comments