Skip to content

Commit f3bc234

Browse files
committed
Update Gradle publish workflow: switch to published event, use macos-latest-xlarge, and configure JAVA_OPTS.
1 parent 2137f6a commit f3bc234

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ name: Release
99

1010
on:
1111
release:
12-
types: [ created ]
12+
types: [ published ]
1313

1414
jobs:
1515
build:
16-
runs-on: macos-latest
16+
runs-on: macos-latest-xlarge
1717
environment: release
18+
env:
19+
JAVA_OPTS: "-Xmx8g -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dkotlin.daemon.jvm.options=-Xmx6g"
1820

1921
permissions:
2022
contents: write
@@ -130,4 +132,4 @@ jobs:
130132
name: jreleaser-logs
131133
path: |
132134
build/jreleaser/trace.log
133-
build/jreleaser/output.properties
135+
build/jreleaser/output.properties

0 commit comments

Comments
 (0)