From 88cb8a94bcc447549754fd51ea381aa94e97ffd3 Mon Sep 17 00:00:00 2001 From: amazingfate Date: Thu, 17 Aug 2023 12:07:30 +0800 Subject: [PATCH] workflow: get more disk space for build --- .github/workflows/compile.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index 5ad8c00a5b63e..ef06d9d204f9b 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -15,6 +15,14 @@ jobs: OCI_TARGET_BASE: "ghcr.io/${{ github.repository }}/" # This is picked up by the Docker launcher automatically steps: + - name: Get more space + uses: easimon/maximize-build-space@master + with: + root-reserve-mb: 30720 + swap-size-mb: 1024 + remove-dotnet: 'true' + remove-android: 'true' + # Login to ghcr.io, for later uploading rootfs to ghcr.io - name: Docker Login to GitHub Container Registry uses: docker/login-action@v2