Skip to content

Commit

Permalink
fix release ci (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: he1pa <[email protected]>
  • Loading branch information
He1pa authored Oct 16, 2024
1 parent 4c08bba commit f299406
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ name: Release
on:
release:
types: [prereleased, released]
push:
branches:
- main
- "releases/*"

jobs:

Expand Down Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dependencies {
bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })

instrumentationTools()
zipSigner()
}


Expand All @@ -55,7 +56,7 @@ kotlin {
intellijPlatform {
pluginConfiguration {
name = properties("pluginName")
version = properties("platformVersion")
version = properties("pluginVersion")

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

Expand Down Expand Up @@ -86,6 +87,7 @@ intellijPlatform {

ideaVersion {
sinceBuild = providers.gradleProperty("pluginSinceBuild")
untilBuild = providers.gradleProperty("pluginUntilBuild")
}
}

Expand Down

0 comments on commit f299406

Please sign in to comment.