Skip to content

Commit f299406

Browse files
authored
fix release ci (#47)
Signed-off-by: he1pa <[email protected]>
1 parent 4c08bba commit f299406

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ name: Release
88
on:
99
release:
1010
types: [prereleased, released]
11+
push:
12+
branches:
13+
- main
14+
- "releases/*"
1115

1216
jobs:
1317

@@ -35,7 +39,7 @@ jobs:
3539

3640
# Setup Gradle
3741
- name: Setup Gradle
38-
uses: gradle/actions/setup-gradle@v3
42+
uses: gradle/actions/setup-gradle@v4
3943
with:
4044
gradle-home-cache-cleanup: true
4145

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ dependencies {
4141
bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })
4242

4343
instrumentationTools()
44+
zipSigner()
4445
}
4546

4647

@@ -55,7 +56,7 @@ kotlin {
5556
intellijPlatform {
5657
pluginConfiguration {
5758
name = properties("pluginName")
58-
version = properties("platformVersion")
59+
version = properties("pluginVersion")
5960

6061
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
6162

@@ -86,6 +87,7 @@ intellijPlatform {
8687

8788
ideaVersion {
8889
sinceBuild = providers.gradleProperty("pluginSinceBuild")
90+
untilBuild = providers.gradleProperty("pluginUntilBuild")
8991
}
9092
}
9193

0 commit comments

Comments
 (0)