From 66dfb37845c13503fe035d41c9813747ec684de2 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Sun, 4 Aug 2024 02:49:43 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20Linux=E3=81=AECUDA=E7=89=88=E3=81=ABjl?= =?UTF-8?q?umbroso/free-disk-space=E3=82=92=E5=B0=8E=E5=85=A5=20(#45)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f5974d..cd06c8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -171,6 +171,13 @@ jobs: path: build/ key: ${{ matrix.artifact_name }}-v${{ env.ONNXRUNTIME_VERSION }}-cache-${{ hashFiles('matrix.json') }} + - name: Free Disk Space + uses: jlumbroso/free-disk-space@main + if: steps.cache-build-result.outputs.cache-hit != 'true' && runner.os == 'Linux' && contains(matrix.build_opts, '--use_cuda') + with: + tool-cache: false + large-packages: false + swap-storage: false - name: Install tree if: steps.cache-build-result.outputs.cache-hit != 'true' && runner.os == 'Windows'