From 4f8e26b2a23f692ae099c5e3e1526147570ded21 Mon Sep 17 00:00:00 2001 From: slashtechno <77907286+slashtechno@users.noreply.github.com> Date: Sun, 15 Oct 2023 15:48:36 -0500 Subject: [PATCH] Free up space when building Docker image --- .github/workflows/docker.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6df6a54..937ff41 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,6 +21,11 @@ jobs: packages: write steps: + # Free up ~10 GB of space + - name: Remove unnecessary files + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: Checkout repository uses: actions/checkout@v3