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

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 54f72d9e5e free up runner disk space before build docker image
54f72d9e5e is described below

commit 54f72d9e5e3b91f9a0b661b092de33327a208b6a
Author: ThomasNS <[email protected]>
AuthorDate: Thu Dec 7 17:12:25 2023 +0100

    free up runner disk space before build docker image
---
 .github/workflows/docker_linux.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.github/workflows/docker_linux.yml 
b/.github/workflows/docker_linux.yml
index 5db9a19cf6..ef071c6c27 100644
--- a/.github/workflows/docker_linux.yml
+++ b/.github/workflows/docker_linux.yml
@@ -48,6 +48,22 @@ jobs:
       - name: Checkout repository
         uses: actions/checkout@v4
 
+      - 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: true
+          swap-storage: true
+
       - name: Set up Docker Buildx
         uses: docker/setup-buildx-action@v3
 

Reply via email to