Skip to content

Commit

Permalink
ci: increase xmx in gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Jun 8, 2024
1 parent ee21cde commit 71d9728
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- cron: '0 0 * * 0' # https://crontab.guru/every-week

env:
GRADLE_OPTS: -Xmx4096m
TEST_APP_DEPS: react-native-modal react-native-webview
TEST_APP_DEV_DEPS: typescript @babel/preset-env react-shallow-renderer
RN_BUNDLE_ARGS: --entry-file index.js --platform android --dev false --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
Expand Down Expand Up @@ -97,7 +96,9 @@ jobs:
working-directory: rnexample
- run: npx --yes check-peer-dependencies --npm --runOnlyOnRootDependencies
working-directory: rnexample
- run: ./gradlew assemble
- run: |
echo "org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m" >> gradle.properties
./gradlew assemble
working-directory: rnexample/android
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 71d9728

Please sign in to comment.