|
32 | 32 | outputs: |
33 | 33 | version: ${{ steps.properties.outputs.version }} |
34 | 34 | changelog: ${{ steps.properties.outputs.changelog }} |
35 | | - pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }} |
36 | 35 | steps: |
37 | 36 |
|
38 | 37 | # Check out the current repository |
|
64 | 63 | CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)" |
65 | 64 |
|
66 | 65 | echo "version=$VERSION" >> $GITHUB_OUTPUT |
67 | | - echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT |
68 | 66 | |
69 | 67 | echo "changelog<<EOF" >> $GITHUB_OUTPUT |
70 | 68 | echo "$CHANGELOG" >> $GITHUB_OUTPUT |
@@ -154,17 +152,19 @@ jobs: |
154 | 152 | # Setup Gradle |
155 | 153 | - name: Setup Gradle |
156 | 154 | uses: gradle/actions/setup-gradle@v4 |
157 | | - |
158 | | - # Cache Plugin Verifier IDEs |
159 | | - - name: Setup Plugin Verifier IDEs Cache |
160 | | - uses: actions/cache@v4 |
161 | 155 | with: |
162 | | - path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides |
163 | | - key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }} |
| 156 | + # We don't store the cache of the verify job, as it takes too much space. |
| 157 | + # It contains each IntelliJ IDEA version we test against. These versions |
| 158 | + # are stored in ~/.gradle/caches/*/transforms/*/*/ideaIC* and each takes about 3GB. |
| 159 | + # Use "du -hs ~/.gradle/caches/*/transforms/*/*/ideaIC*" to verify. |
| 160 | + # This would be part of the cache "gradle-transforms-v1-...". |
| 161 | + # Also, the cache "gradle-dependencies-v1-..." is much bigger for verify job. |
| 162 | + # In total, the new caches are bigger than 10GB, which are available on GitHub by default. |
| 163 | + cache-read-only: true |
164 | 164 |
|
165 | 165 | # Run Verify Plugin task and IntelliJ Plugin Verifier tool |
166 | 166 | - name: Run Plugin Verification tasks |
167 | | - run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }} |
| 167 | + run: ./gradlew verifyPlugin |
168 | 168 |
|
169 | 169 | # Collect Plugin Verifier Result |
170 | 170 | - name: Collect Plugin Verifier Result |
|
0 commit comments