From 624c6950bef0037bedf88f578c35381513dabc2c Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Thu, 29 Oct 2020 21:46:49 +0100 Subject: [PATCH] Cache downloaded IDEs used by Plugin Verifier for the verification --- .github/template-cleanup/gradle.properties | 2 +- .github/workflows/build.yml | 7 +++++++ CHANGELOG.md | 1 + gradle.properties | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/template-cleanup/gradle.properties b/.github/template-cleanup/gradle.properties index 7f30180..07dc5a6 100644 --- a/.github/template-cleanup/gradle.properties +++ b/.github/template-cleanup/gradle.properties @@ -7,7 +7,7 @@ pluginVersion = 0.0.1 pluginSinceBuild = 193 pluginUntilBuild = 202.* # Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl -pluginVerifierIdeVersions = IC-2019.3, IC-2020.1, IC-2020.2 +pluginVerifierIdeVersions = 2019.3, 2020.1, 2020.2 platformType = IC platformVersion = 2019.3 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 53dbae4..7675c8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -169,6 +169,13 @@ jobs: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} + # Cache Plugin Verifier IDEs + - name: Setup Plugin Verifier IDEs Cache + uses: actions/cache@v2 + with: + path: ~/.pluginVerifier/ides + key: ${{ runner.os }}-plugin-verifier-ides + # Run IntelliJ Plugin Verifier action using GitHub Action - name: Verify Plugin run: ./gradlew runPluginVerifier diff --git a/CHANGELOG.md b/CHANGELOG.md index bcb5f81..c26baa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ## [Unreleased] ### Added - Integration with [IntelliJ Plugin Verifier](https://github.com/JetBrains/intellij-plugin-verifier) through the [Gradle IntelliJ Plugin](https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl) `runPluginVerifier` task +- Cache downloaded IDEs used by Plugin Verifier for the verification ### Changed - Switch Gradle Wrapper to `-all` to improve the IntelliSense diff --git a/gradle.properties b/gradle.properties index 7d94b41..35a9b3b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ pluginVersion = 0.6.0 pluginSinceBuild = 193 pluginUntilBuild = 202.* # Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl -pluginVerifierIdeVersions = IC-2019.3, IC-2020.1, IC-2020.2 +pluginVerifierIdeVersions = 2019.3, 2020.1, 2020.2 platformType = IC platformVersion = 2019.3