Skip to content

Commit 0dddceb

Browse files
committed
allocate more memory to gradle opts
1 parent e48df2d commit 0dddceb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,22 @@ jobs:
1515
ref: ${{ github.head_ref }}
1616
- name: Upload to Bintray
1717
env:
18+
GRADLE_OPTS: "-Xmx768m -Xms256m -XX:+CMSClassUnloadingEnabled"
1819
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
1920
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
21+
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
2022
run: ./gradlew bintrayUpload --no-daemon
2123
- name: Publish to Bintray
24+
run: ./gradlew bintrayPublish --no-daemon --dry-run
2225
env:
26+
GRADLE_OPTS: "-Xmx768m -Xms256m -XX:+CMSClassUnloadingEnabled"
2327
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
2428
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
25-
run: ./gradlew bintrayPublish --no-daemon --dry-run
29+
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
2630
- name: Assemble Distribution
2731
run: ./gradlew assemble docs --no-daemon
32+
env:
33+
GRADLE_OPTS: "-Xmx768m -Xms256m -XX:+CMSClassUnloadingEnabled"
2834
- id: release_version
2935
if: success()
3036
run: echo ::set-output name=release_version::${GITHUB_REF:11}

0 commit comments

Comments
 (0)