Skip to content

Commit 75ace16

Browse files
committed
build: Add back disk cleanup so that plugin verifier succeeds when downloading multiple IDE versions
1 parent b5ebf45 commit 75ace16

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,17 +180,40 @@ jobs:
180180
with:
181181
cache-read-only: 'true'
182182

183+
- name: Size before clean
184+
run: |
185+
df -h
186+
187+
# Free GitHub Actions Environment Disk Space
188+
- name: Maximize Build Space
189+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
190+
with:
191+
tool-cache: false
192+
large-packages: false
193+
194+
- name: Size after clean
195+
run: |
196+
df -h
197+
183198
# Cache Plugin Verifier IDEs
184199
- name: Setup Plugin Verifier IDEs Cache
185200
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
186201
with:
187202
path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides
188203
key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
189204

205+
- name: Size after setup plugin verifier IDEs cache
206+
run: |
207+
df -h
208+
190209
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
191210
- name: Run Plugin Verification tasks
192211
run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
193212

213+
- name: Size after plugin verification tasks
214+
run: |
215+
df -h
216+
194217
# Collect Plugin Verifier Result
195218
- name: Collect Plugin Verifier Result
196219
if: ${{ always() }}

0 commit comments

Comments
 (0)