From 60b7474d67e9f82ea1e377f61a80e9987f7f3ac0 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov <1517853+kpavlov@users.noreply.github.com> Date: Fri, 12 Sep 2025 14:36:57 +0300 Subject: [PATCH] =?UTF-8?q?Update=20Gradle=20publish=20workflow:=20switch?= =?UTF-8?q?=20to=20`published`=20event,=20use=20`mac=E2=80=A6=20(#259)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Motivation and Context Align release workflow with the normal build workflow ## Changes Update Gradle publish workflow: switch to `published` event, use `mac…os-latest-xlarge`, and configure `JAVA_OPTS`. ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [x] CI update ## Checklist - [ ] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [ ] My code follows the repository's style guidelines - [ ] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context --- .github/workflows/gradle-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index dfc0763..9c8e4e7 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -13,8 +13,10 @@ on: jobs: build: - runs-on: macos-latest + runs-on: macos-latest-xlarge environment: release + env: + JAVA_OPTS: "-Xmx8g -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dkotlin.daemon.jvm.options=-Xmx6g" permissions: contents: write