CI: Run jlumbroso/free-disk-space before building

https://github.com/jlumbroso/free-disk-space

Considering we are missing only a few MiBs to complete the build on 6.4.5+.. That will hopefully be enough.
This commit is contained in:
Tk-Glitch
2023-08-14 13:23:53 +02:00
parent 7287b74226
commit 69aa332c06

View File

@@ -66,6 +66,22 @@ jobs:
needs.check-for-newer-kernel.outputs.new_kernel == '0' needs.check-for-newer-kernel.outputs.new_kernel == '0'
steps: steps:
- 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
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: true
# We need to install git so the checkout is done with it # We need to install git so the checkout is done with it
- name: Install git - name: Install git
run: pacman -Syu --noconfirm git run: pacman -Syu --noconfirm git