You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
IntelliJ Plugin Verifier
v1.0.0
Use GitHub Actions to verify the compatibility of your IntelliJ plugin against any version of IntelliJ IDEA.
Simply add the action to your workflow-file and specify the path to your plugin, as well as the desired version of IntelliJ IDEA to test, as shown in hte example:
steps:
- uses: actions/checkout@master
- uses: thepieterdc/intellij-plugin-verifier-action@v1.0.0
with:
plugin: '/path/to/plugin.zip'
version: '181.5684.4'
This action currently requires 2 arguments:
Input | Description | Usage |
---|---|---|
plugin |
The path to the zip -distribution of the plugin, generated by executing ./gradlew buildPlugin |
Required |
version |
Release of IntelliJ that should be used to validate against | Required |
The following example builds a plugin using Gradle, and validates it against IDEA build 193.5662.53
.
name: Plugin compatibility
on: [push]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 11.x.x
- name: Build the plugin using Gradle
run: ./gradlew buildPlugin
- uses: thepieterdc/intellij-plugin-verifier-action@v1.0.0
with:
plugin: '/home/runner/work/demo-plugin/demo-plugin/build/distributions/demo-plugin-1.0.0-SNAPSHOT.zip'
version: '193.5662.53'
Contributions are always appreciated in the form of pull requests/issues.
The code in this project is released under the MIT License.