Skip to content

Commit d38d7bc

Browse files
author
LeanBitLab
committed
ci: increase gradle heap size to avoid out of memory
1 parent 4e9664c commit d38d7bc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ permissions:
1717
jobs:
1818
build-and-release:
1919
runs-on: ubuntu-latest
20+
env:
21+
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx4g -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError"
2022

2123
steps:
2224
- name: Checkout Code

0 commit comments

Comments
 (0)