Skip to content

Commit f16cb02

Browse files
authored
add jvm args more memory
1 parent e27d749 commit f16cb02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ jobs:
7676
- uses: eskatos/gradle-command-action@v1
7777
name: Publish targets to maven
7878
with:
79-
arguments: publish -PapiKey=${{ secrets.SONOTYPE_TOKEN }}
79+
arguments: publish -PapiKey=${{ secrets.SONOTYPE_TOKEN }} '-Dorg.gradle.jvmargs=-Xmx2g -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8'
8080
if: ${{ startsWith(matrix.os, 'macos') }}
8181

8282
- uses: eskatos/gradle-command-action@v1
8383
name: Publish targets to maven
8484
with:
85-
arguments: publishMingwX64PublicationToMavenRepository -s -i -x compilePosix -PapiKey=${{ secrets.SONOTYPE_TOKEN }}
85+
arguments: publishMingwX64PublicationToMavenRepository -s -i -x compilePosix -PapiKey=${{ secrets.SONOTYPE_TOKEN }} '-Dorg.gradle.jvmargs=-Xmx2g -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8'
8686
if: ${{ startsWith(matrix.os, 'windows') }}

0 commit comments

Comments
 (0)