Free more disk space for running tests (#8882)

This commit is contained in:
Lauri Tulmin 2023-07-06 14:14:23 +03:00 committed by GitHub
parent c454de9ca6
commit d701967f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -162,6 +162,14 @@ jobs:
vm: openj9
fail-fast: false
steps:
# tests may fail without freeing up more disk space on the runner
- name: Free disk space
run: |
df -h
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/share/dotnet
df -h
- uses: actions/checkout@v3
- id: setup-test-java
@ -285,7 +293,7 @@ jobs:
run: git config --system core.longpaths true
if: matrix.os == 'windows-latest'
# downloading the liberty image (a bit over 10gb) fails without freeing up more disk space on the runner
# downloading the liberty image (a bit over 10gb) fails without freeing up more disk space on the runner
- name: Free disk space
run: |
df -h