Skip to content

Commit d701967

Browse files
authored
Free more disk space for running tests (#8882)
1 parent c454de9 commit d701967

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build-common.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ jobs:
162162
vm: openj9
163163
fail-fast: false
164164
steps:
165+
# tests may fail without freeing up more disk space on the runner
166+
- name: Free disk space
167+
run: |
168+
df -h
169+
sudo rm -rf /usr/local/lib/android
170+
sudo rm -rf /usr/share/dotnet
171+
df -h
172+
165173
- uses: actions/checkout@v3
166174

167175
- id: setup-test-java
@@ -285,7 +293,7 @@ jobs:
285293
run: git config --system core.longpaths true
286294
if: matrix.os == 'windows-latest'
287295

288-
# downloading the liberty image (a bit over 10gb) fails without freeing up more disk space on the runner
296+
# downloading the liberty image (a bit over 10gb) fails without freeing up more disk space on the runner
289297
- name: Free disk space
290298
run: |
291299
df -h

0 commit comments

Comments
 (0)