Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions .github/actions/plugin-publish-steps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,38 @@ inputs:
channel:
description: 'The channel to publish the plugin to'
required: true
PLUGIN_CERTIFICATE_CHAIN:
description: 'The certificate chain for signing the plugin'
required: true
PLUGIN_PRIVATE_KEY:
description: 'The private key for signing the plugin'
required: true
PLUGIN_PRIVATE_KEY_PASSWORD:
description: 'The password for the private key'
required: true
PLUGIN_PUBLISH_TOKEN:
description: 'The token for publishing the plugin to the marketplace'
required: true

runs:
using: "composite"
steps:
- id: build
uses: action.yml
uses: ./.github/actions/plugin-build-steps

- name: Sign Plugin
env:
PLUGIN_CERTIFICATE_CHAIN: ${{ secrets.PLUGIN_CERTIFICATE_CHAIN }}
PLUGIN_PRIVATE_KEY: ${{ secrets.PLUGIN_PRIVATE_KEY }}
PLUGIN_PRIVATE_KEY_PASSWORD: ${{ secrets.PLUGIN_PRIVATE_KEY_PASSWORD }}
PLUGIN_CERTIFICATE_CHAIN: ${{ inputs.PLUGIN_CERTIFICATE_CHAIN }}
PLUGIN_PRIVATE_KEY: ${{ inputs.PLUGIN_PRIVATE_KEY }}
PLUGIN_PRIVATE_KEY_PASSWORD: ${{ inputs.PLUGIN_PRIVATE_KEY_PASSWORD }}
run: ./gradlew :plugin-251:signPlugin
shell: bash
working-directory: ./intellij-plugin

- name: Release to plugin market
env:
PLUGIN_PUBLISH_TOKEN: ${{ secrets.PLUGIN_PUBLISH_TOKEN }}
PLUGIN_PUBLISH_TOKEN: ${{ inputs.PLUGIN_PUBLISH_TOKEN }}
PLUGIN_PUBLISH_CHANNEL: ${{ inputs.channel }}
run: |
echo "Publishing to channel: ${{ inputs.channel }}"
#run: ./gradlew :plugin-251:publishPlugin
run: ./gradlew :plugin-251:publishPlugin
shell: bash
working-directory: ./intellij-plugin
4 changes: 4 additions & 0 deletions .github/workflows/plugin-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
uses: ./.github/actions/plugin-publish-steps
with:
channel: ${{ inputs.channel }}
PLUGIN_CERTIFICATE_CHAIN: ${{ secrets.PLUGIN_CERTIFICATE_CHAIN }}
PLUGIN_PRIVATE_KEY: ${{ secrets.PLUGIN_PRIVATE_KEY }}
PLUGIN_PRIVATE_KEY_PASSWORD: ${{ secrets.PLUGIN_PRIVATE_KEY_PASSWORD }}
PLUGIN_PUBLISH_TOKEN: ${{ secrets.PLUGIN_PUBLISH_TOKEN }}

- name: Finished
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/plugin-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
uses: ./.github/actions/plugin-publish-steps
with:
channel: "default"
PLUGIN_CERTIFICATE_CHAIN: ${{ secrets.PLUGIN_CERTIFICATE_CHAIN }}
PLUGIN_PRIVATE_KEY: ${{ secrets.PLUGIN_PRIVATE_KEY }}
PLUGIN_PRIVATE_KEY_PASSWORD: ${{ secrets.PLUGIN_PRIVATE_KEY_PASSWORD }}
PLUGIN_PUBLISH_TOKEN: ${{ secrets.PLUGIN_PUBLISH_TOKEN }}

- name: Finished
run: |
echo "Plugin published to channel: ${{ inputs.channel }}"
echo "Plugin published to channel: default"
shell: bash
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
/build
.kotlin
.gradle
.gradle
.local/
1 change: 1 addition & 0 deletions intellij-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Additional plugin properties are set in */plugin.properties for each target IJP
pluginGroup=de.drick.compose.hotpreview.plugin
pluginId=de.drick.compose.hotpreview.plugin
pluginName=Compose Multiplatform HotPreview"
pluginRepositoryUrl=https://github.com/rock3r/jewel-ijp-template
pluginVersion=0.9.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude">

<dependencies>
<plugin id="com.intellij.modules.platform"/>
<module name="intellij.platform.jewel.foundation"/>
<module name="intellij.platform.jewel.ui"/>
<module name="intellij.platform.jewel.ideLafBridge"/>
Expand Down