-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Intellij Platform Plugin migration - support multiple IDE versions
- Loading branch information
Showing
2 changed files
with
3 additions
and
56 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -158,61 +158,6 @@ jobs: | |
path: ./build/distributions/${{ needs.build.outputs.artifact }} | ||
if-no-files-found: error | ||
|
||
# Verify built plugin using IntelliJ Plugin Verifier tool | ||
# Requires build job to be passed | ||
verify: | ||
name: Verify | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Setup Java 17 environment for the next steps | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: 'zulu' | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
# Cache Gradle Dependencies | ||
- name: Setup Gradle Dependencies Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
|
||
# Cache Gradle Wrapper | ||
- name: Setup Gradle Wrapper Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
# Set environment variables | ||
- name: Export Properties | ||
id: properties | ||
shell: bash | ||
run: | | ||
PROPERTIES="$(./gradlew properties --console=plain -q)" | ||
IDE_VERSIONS="$(echo "$PROPERTIES" | grep "^pluginVerifierIdeVersions:" | base64)" | ||
echo "::set-output name=ideVersions::$IDE_VERSIONS" | ||
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier" | ||
# Cache Plugin Verifier IDEs | ||
- name: Setup Plugin Verifier IDEs Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides | ||
key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }} | ||
|
||
# Run IntelliJ Plugin Verifier action using GitHub Action | ||
# - name: Verify Plugin | ||
# run: ./gradlew runPluginVerifier -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }} | ||
|
||
# Prepare a draft release for GitHub Releases page for the manual verification | ||
# If accepted and published, release workflow would be triggered | ||
releaseDraft: | ||
|
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