chore: Free up disk space in GitHub Actions runner

This commit is contained in:
Simon Larsen 2024-07-04 22:40:38 +01:00
parent cc3f003be5
commit dcdf1e21ae
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA
2 changed files with 28 additions and 0 deletions

View File

@ -996,6 +996,20 @@ jobs:
fail-fast: false
runs-on: ubuntu-latest
steps:
# Docker compose needs a lot of space to build images, so we need to free up some space first in the GitHub Actions runner
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Docker Meta
id: meta

View File

@ -26,6 +26,20 @@ jobs:
runs-on: ubuntu-latest
steps:
# Docker compose needs a lot of space to build images, so we need to free up some space first in the GitHub Actions runner
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Docker Meta
id: meta
uses: docker/metadata-action@v4