From 0b5a26dd5e1d2813bf9a5264052d49ce8e19cbb2 Mon Sep 17 00:00:00 2001 From: he1pa <18012015693@163.com> Date: Wed, 16 Oct 2024 20:49:19 +0800 Subject: [PATCH] fix release ci Signed-off-by: he1pa <18012015693@163.com> --- .github/workflows/release.yml | 6 +++++- build.gradle.kts | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2634ed5..845b600 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,10 @@ name: Release on: release: types: [prereleased, released] + push: + branches: + - main + - "releases/*" jobs: @@ -35,7 +39,7 @@ jobs: # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 with: gradle-home-cache-cleanup: true diff --git a/build.gradle.kts b/build.gradle.kts index f37e4c2..e430ec1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -41,6 +41,7 @@ dependencies { bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') }) instrumentationTools() + zipSigner() } @@ -55,7 +56,7 @@ kotlin { intellijPlatform { pluginConfiguration { name = properties("pluginName") - version = properties("platformVersion") + version = properties("pluginVersion") // Extract the section from README.md and provide for the plugin's manifest @@ -86,6 +87,7 @@ intellijPlatform { ideaVersion { sinceBuild = providers.gradleProperty("pluginSinceBuild") + untilBuild = providers.gradleProperty("pluginUntilBuild") } }