Skip to content

Commit

Permalink
UbuntuGH.yml: Bugfix of "No space left on device"
Browse files Browse the repository at this point in the history
Use `jlumbroso/free-disk-space@main` GitHub action
  • Loading branch information
jan-revay authored Jan 5, 2025
1 parent 1e5216a commit 7f63f1b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/UbuntuGH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@ jobs:
os: [ubuntu-22.04, ubuntu-24.04] # TODO consider adding 20.04
runs-on: ${{ matrix.os }}
steps:
# TODO try to only run Free disk space if needed
# Note: This was added because the idempotency test
# (copying home to /tmp was running out of the disk space)
- 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: true

# 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: true
swap-storage: true
- name: Update APT & upgrade
run: sudo apt-get update -y && sudo apt-get upgrade -y
# TODO - BUG - use the correct respective branch - check that it is resolved
Expand Down

0 comments on commit 7f63f1b

Please sign in to comment.