Skip to content

Commit

Permalink
ci: fix "No space left on device" errors when exporting the unitypackage
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Aug 11, 2024
1 parent 2e7daf9 commit 7d83854
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 7d83854

Please sign in to comment.