From 2bad0aaf97d221d49d6a3267be20243c206391be Mon Sep 17 00:00:00 2001 From: Mike Miller Date: Wed, 11 Oct 2023 19:06:41 +0300 Subject: [PATCH] TEMP: enable cleanup on Windows platform, and check disk space used by the pull --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f670ff55f..c1086bd4b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -216,7 +216,7 @@ jobs: - name: Free extra space # This takes several minutes, so we only do it where required # Ubuntu 22.04 20230517.1 added some new packages, so we'll enable this (temporarily, hopefully). See https://github.com/actions/runner-images/pull/7645/files#diff-d3f496e99457b699df2a5621c8f59cb52f60a050e1a88318af7d6f7069c12b2eR180 for details - if: matrix.targetPlatform == 'Android' # We needed this to build for Android with the Ubuntu 20.04 image, which started with 29GB free. The 22.04 starts with 37GB free, and this is enough. + if: matrix.targetPlatform == 'Android' || matrix.targetPlatform == 'StandaloneWindows64' # We needed this to build for Android with the Ubuntu 20.04 image, which started with 29GB free. The 22.04 starts with 37GB free, and this is enough. run: | echo "Initial free space" df -h / @@ -387,6 +387,13 @@ jobs: run: | echo -e "\n-define:PIMAX_SUPPORTED" | tee -a Assets/csc.rsp + - name: Disk space before and after pull + if: matrix.targetPlatform == 'StandaloneWindows64' + run: | + df -h / + docker pull unityci/editor:ubuntu-2021.3.16f1-windows-mono-2 + df -h / + - name: Build project uses: game-ci/unity-builder@v3 env: