Skip to content

Commit a11a553

Browse files
committed
chore: Update Plugin verification and enable gradle caching for build
Signed-off-by: Chao Wang <[email protected]>
1 parent a09fbb3 commit a11a553

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.github/workflows/IJ.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ on:
1212
jobs:
1313
validate:
1414
runs-on: ubuntu-latest
15-
strategy:
16-
matrix:
17-
IJ:
18-
- IC-2024.3
1915
steps:
2016
- uses: actions/checkout@v4
2117
- name: Set up JDK 17
@@ -29,7 +25,6 @@ jobs:
2925
- name: Build with Gradle
3026
run: >
3127
./gradlew buildPlugin
32-
-PideaVersion=${{ matrix.IJ }}
3328
-Pgpr.username=${{ github.actor }}
3429
-Pgpr.token=${{ secrets.GITHUB_TOKEN }}
3530
@@ -50,8 +45,7 @@ jobs:
5045
run: chmod +x gradlew
5146
- name: Build with Gradle
5247
run: >
53-
./gradlew runPluginVerifier
54-
-PideaVersion=IC-2022.3
48+
./gradlew verifyPlugin
5549
-Pgpr.username=${{ github.actor }}
5650
-Pgpr.token=${{ secrets.GITHUB_TOKEN }}
5751
- name: Upload report

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,9 @@ val runIdeForUiTests by intellijPlatformTesting.runIde.registering {
110110
}
111111

112112
intellijPlatform {
113-
buildSearchableOptions = false // no custom settings, see https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-faq.html#how-to-disable-building-the-searchable-options
113+
pluginVerification {
114+
ides {
115+
recommended()
116+
}
117+
}
114118
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ kotlin.stdlib.default.dependency=false
2020
org.gradle.configuration-cache=false
2121

2222
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
23-
org.gradle.caching=false
23+
org.gradle.caching=true

0 commit comments

Comments
 (0)