https://github.com/thepieterdc/intellij-plugin-verifier-action
GitHub Action to verify IntelliJ plugin compatibility
https://github.com/thepieterdc/intellij-plugin-verifier-action
actions ci github intellij plugin
Last synced: about 1 year ago
JSON representation
GitHub Action to verify IntelliJ plugin compatibility
- Host: GitHub
- URL: https://github.com/thepieterdc/intellij-plugin-verifier-action
- Owner: thepieterdc
- License: mit
- Created: 2020-01-03T17:52:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T12:22:44.000Z (almost 3 years ago)
- Last Synced: 2025-04-04T22:48:14.365Z (about 1 year ago)
- Topics: actions, ci, github, intellij, plugin
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 28
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IntelliJ Plugin Verifier GitHub Action
[](https://github.com/marketplace/actions/intellij-plugin-verifier)
Use GitHub Actions to verify the compatibility of your IntelliJ plugin against any version of IntelliJ IDEA.
## Usage
Simply add the action to your workflow-file and specify the path to your plugin, as well as the desired versions of IntelliJ IDEA to test, as shown in the example:
```yaml
steps:
- uses: actions/checkout@master
- uses: thepieterdc/intellij-plugin-verifier-action@v1.4.0
with:
plugin: '/path/to/plugin.zip'
verifier_version: 1.301
versions: |
181.5684.4
2019.3.3
```
## Arguments
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* |
| `versions` | Releases of IntelliJ that should be used to validate against, formatted as a multi-line string as shown in the example. | *Required* |
Note that you do not need to specify the full path (with e.g. the version number) to the zip-file, as illustrated in the example.
## Example
The following example builds a plugin using Gradle, and validates it against IDEA builds `181.5684.4`, `2019.3.3` and the latest EAP version.
```yaml
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.4.0
with:
plugin: '/home/runner/work/demo-plugin/demo-plugin/build/distributions/demo-plugin-*'
verifier_version: 1.301
versions: |
181.5684.4
2019.3.3
LATEST-EAP-SNAPSHOT
```
## Contributing
Contributions are always appreciated in the form of pull requests/issues.
## License
The code in this project is released under the [MIT License](LICENSE).