Skip to content

Commit

Permalink
Add logic for IDE plugin EAP releases
Browse files Browse the repository at this point in the history
  • Loading branch information
rickclephas committed Sep 12, 2023
1 parent 540dd8b commit 4940f4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-kotlin-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@ jobs:
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
- name: Publish IDEA plugin
run: ./gradlew publishPlugin
env:
IDEA_CERTIFICATE_CHAIN: ${{ secrets.IDEA_CERTIFICATE_CHAIN }}
IDEA_PRIVATE_KEY: ${{ secrets.IDEA_PRIVATE_KEY }}
IDEA_PRIVATE_KEY_PASSWORD: ${{ secrets.IDEA_PRIVATE_KEY_PASSWORD }}
IDEA_PUBLISH_TOKEN: ${{ secrets.IDEA_PUBLISH_TOKEN }}
3 changes: 3 additions & 0 deletions kmp-nativecoroutines-idea-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ tasks {

publishPlugin {
token = System.getenv("IDEA_PUBLISH_TOKEN")
if ((version as String).contains("-kotlin-")) {
channels = listOf("eap")
}
}

runIde {
Expand Down

0 comments on commit 4940f4d

Please sign in to comment.