Skip to content

Commit a5fc2f7

Browse files
committed
.github: add free-disk-space action to generic x86_64 workflow
Addresses disk space issues in GitHub Actions for generic x86_64 builds by removing unused tools (Android SDK, .NET, Docker images, etc.) before the build starts. This frees up ~30GB of space. Fixes #1210 Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 3384507 commit a5fc2f7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/generic-x86-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13+
- name: Free Disk Space
14+
uses: jlumbroso/free-disk-space@main
15+
with:
16+
tool-cache: true
17+
android: true
18+
dotnet: true
19+
haskell: true
20+
large-packages: true
21+
docker-images: true
22+
swap-storage: false
23+
1324
- name: Install build dependencies
1425
run: |
1526
sudo apt-get update

0 commit comments

Comments
 (0)