-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nightly release workflow and reuse steps via composite action
- Loading branch information
Showing
3 changed files
with
73 additions
and
27 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
.github/actions/sign-and-verify-intellij-plugin/action.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: 'Sign and Verify IntelliJ Plugin' | ||
description: 'A composite actions for signing and verifying IntelliJ plugins.' | ||
|
||
inputs: | ||
GITHUB_TOKEN: | ||
description: 'GitHub token' | ||
required: true | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Build signed plugin | ||
shell: bash | ||
run: ./gradlew signPlugin | ||
- name: Verify IntelliJ plugin | ||
# https://www.jetbrains.com/idea/download/other.html | ||
uses: ChrisCarini/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} | ||
with: | ||
plugin-location: idea-plugin/build/distributions/*-signed.zip | ||
ide-versions: | | ||
ideaIC:2024.1 | ||
ideaIC:2024.1.1 | ||
ideaIC:2024.1.2 | ||
ideaIC:2024.1.3 | ||
ideaIC:2024.1.4 | ||
ideaIC:LATEST-EAP-SNAPSHOT | ||
failure-levels: | | ||
COMPATIBILITY_WARNINGS | ||
COMPATIBILITY_PROBLEMS | ||
DEPRECATED_API_USAGES | ||
INTERNAL_API_USAGES | ||
OVERRIDE_ONLY_API_USAGES | ||
NON_EXTENDABLE_API_USAGES | ||
PLUGIN_STRUCTURE_WARNINGS | ||
MISSING_DEPENDENCIES | ||
INVALID_PLUGIN | ||
NOT_DYNAMIC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,34 +50,10 @@ jobs: | |
echo "version=$VERSION" >> $GITHUB_ENV | ||
echo "artifactName=$NAME-$VERSION" >> $GITHUB_ENV | ||
- name: Build signed plugin | ||
run: ./gradlew signPlugin | ||
|
||
- name: Verify IntelliJ plugin | ||
# https://www.jetbrains.com/idea/download/other.html | ||
uses: ChrisCarini/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Sign and Verify IntelliJ Plugin | ||
uses: ./.github/actions/sign-and-verify-intellij-plugin | ||
with: | ||
plugin-location: idea-plugin/build/distributions/*-signed.zip | ||
ide-versions: | | ||
ideaIC:2024.1 | ||
ideaIC:2024.1.1 | ||
ideaIC:2024.1.2 | ||
ideaIC:2024.1.3 | ||
ideaIC:2024.1.4 | ||
ideaIC:LATEST-EAP-SNAPSHOT | ||
failure-levels: | | ||
COMPATIBILITY_WARNINGS | ||
COMPATIBILITY_PROBLEMS | ||
DEPRECATED_API_USAGES | ||
INTERNAL_API_USAGES | ||
OVERRIDE_ONLY_API_USAGES | ||
NON_EXTENDABLE_API_USAGES | ||
PLUGIN_STRUCTURE_WARNINGS | ||
MISSING_DEPENDENCIES | ||
INVALID_PLUGIN | ||
NOT_DYNAMIC | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Publish to Marketplace | ||
run: ./gradlew publishPlugin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters