From 57a5e1c8a00f307f73c79d4f4b19b7ba89eb31c7 Mon Sep 17 00:00:00 2001 From: Kokomo123 Date: Mon, 26 Aug 2024 09:58:49 -0400 Subject: [PATCH] Uncomments free disk space, add some comments, puts env comment back in its proper place. --- .github/workflows/main.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 537380d7..70bd4633 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,20 +44,19 @@ jobs: steps: - uses: actions/checkout@master + # Avoid the following error when building multiple large images: + # `System.IO.IOException: No space left on device : '/home/runner/runners/2.319.1/_diag/Worker_20240826-130726-utc.log'` + # See also: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories + - name: Free Disk Space (Ubuntu) + uses: insightsengineering/disk-space-reclaimer@v1 + with: + android: true + dotnet: true + haskell: true + large-packages: true + swap-storage: true + docker-images: false # See: https://stackoverflow.com/a/58178121 - #- name: Free Disk Space (Ubuntu) - #uses: insightsengineering/disk-space-reclaimer@v1 - #with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - # tools-cache: true - # android: true - # dotnet: true - # haskell: true - # large-packages: true - # swap-storage: true - # docker-images: false - - name: Set Env run: | IMAGE_VERSION=${{ github.ref_name }}