Skip to content

Commit f90e8b7

Browse files
authored
Free up disk space on Android Linux builds (#1804)
1 parent eca3889 commit f90e8b7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/integration_tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,15 @@ jobs:
433433
with:
434434
ref: ${{needs.check_and_prepare.outputs.github_ref}}
435435
submodules: true
436+
- run: df -h
437+
- name: Free Disk Space (Ubuntu)
438+
if: runner.os == 'Linux'
439+
run: |
440+
# Delete large unused libraries/packages to free up space
441+
sudo rm -rf /usr/share/dotnet /opt/ghc /opt/hostedtoolcache/CodeQL
442+
sudo docker image prune --all --force
443+
sudo docker builder prune -a
444+
- run: df -h
436445
- name: Force Java 11
437446
if: ${{ !(runner.os == 'macOS') }}
438447
shell: bash

0 commit comments

Comments
 (0)