Skip to content

Commit 3abdef9

Browse files
committed
Increase Gradle daemon memory in actions
1 parent 40b186d commit 3abdef9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
echo "GRADLE_USER_HOME=$HOME/.gradle" >> "$GITHUB_ENV"
3434
echo "mcdev.deploy.token=${JETBRAINS_TOKEN}" > ~/.gradle/gradle.properties
3535
- name: Publish plugin
36-
run: ./gradlew clean :publishPlugin --stacktrace
36+
run: ./gradlew -Dorg.gradle.jvmargs=-Xmx4G clean :publishPlugin --stacktrace
3737
- name: Get tag name
3838
id: get_tag
3939
shell: bash

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
with:
3434
cache-read-only: ${{ github.ref != 'refs/heads/dev' && steps.branch-match.outputs.match != '' }}
3535
- name: Build
36-
run: ./gradlew build --stacktrace
36+
run: ./gradlew -Dorg.gradle.jvmargs=-Xmx4G build --stacktrace

0 commit comments

Comments
 (0)