From 7d83854ba4cb0073294aaeabc4cbb1a20378ee3c Mon Sep 17 00:00:00 2001 From: Junrou Nishida Date: Sun, 11 Aug 2024 16:14:03 +0900 Subject: [PATCH] ci: fix "No space left on device" errors when exporting the unitypackage --- .github/workflows/package.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index d086d01d6..ea5580048 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -202,6 +202,11 @@ jobs: echo "BUILD_UNITYPACKAGE=1" >> $GITHUB_ENV fi + # avoid "No space left on device" error + - name: Remove unused files to free up space + run: | + sudo rm -rf /usr/share/dotnet /usr/local/lib/android + - name: Install UnityEditor if: ${{ env.BUILD_UNITYPACKAGE == '1' }} run: |