From 5f5fcb04fe66fb4f0a9623ab53e640778dc3d86e Mon Sep 17 00:00:00 2001 From: he1pa <18012015693@163.com> Date: Wed, 16 Oct 2024 20:14:17 +0800 Subject: [PATCH] fix release ci Signed-off-by: he1pa <18012015693@163.com> --- .github/workflows/release.yml | 6 +++++- build.gradle.kts | 3 ++- 2 files changed, 7 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..d24e132 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -30,7 +30,7 @@ repositories { dependencies { val type = properties("platformType") - val version = properties("platformVersion") + val version = properties("pluginVersion") intellijPlatform { create(type, version) @@ -41,6 +41,7 @@ dependencies { bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') }) instrumentationTools() + zipSigner() }