Skip to content

Commit 2391295

Browse files
Free up additional disk space on GitHub runner (#2674)
Co-authored-by: Zyad Hassan <[email protected]>
1 parent dde0441 commit 2391295

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/actions/setup/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ inputs:
1212
runs:
1313
using: composite
1414
steps:
15+
- name: Remove unnecessary software to free up disk space
16+
shell: bash
17+
run: |
18+
# inspired by https://github.com/easimon/maximize-build-space/blob/master/action.yml
19+
df -h
20+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
21+
df -h
22+
1523
- name: Install dependencies
1624
run: cd ${{ inputs.kani_dir }} && ./scripts/setup/${{ inputs.os }}/install_deps.sh
1725
shell: bash

0 commit comments

Comments
 (0)