This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch essobedo/534/free-space
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git

commit 9f91205341888838fb9aa05795875a63d28260bd
Author: Nicolas Filotto <[email protected]>
AuthorDate: Tue Oct 22 18:10:12 2024 +0200

    Ref #534: Build runs out of space
---
 .github/workflows/main.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f6da17ca9..809588736 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -33,6 +33,16 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
+      - name: Check disk space
+        run: df . -h
+      - name: Free disk space
+        run: |
+          sudo rm -rf /usr/share/dotnet \
+            /opt/ghc \
+            "/usr/local/share/boost"
+            "$AGENT_TOOLSDIRECTORY"
+      - name: Check disk space
+        run: df . -h
       - uses: actions/checkout@v4
       - uses: actions/setup-java@v4
         with:

Reply via email to