From 1f21fe5d2bdbef701ce3b9bb9c0048ace3723410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dino=20Pa=C4=8Dandi?= <3002868+Dinonard@users.noreply.github.com> Date: Mon, 9 Sep 2024 13:00:21 +0200 Subject: [PATCH] MacOs CI disk cleanup (#1355) * Macos android sdk cleanup * More deletions * Update release.yml --- .github/workflows/release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43692ac7c..d4b8a9a0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -172,6 +172,20 @@ jobs: - name: Install deps run: brew install protobuf sccache + # Temporary dirty fix + # https://github.com/actions/runner-images/issues/10511 + - name: Disk Cleanup + run: | + xcrun simctl delete all || true + sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/* || true + sudo rm -rf /Users/runner/Library/Android/sdk || true + sudo rm -rf /Applications/Xcode_14.3.1.app || true + sudo rm -rf /Applications/Xcode_15.0.1.app || true + sudo rm -rf /Applications/Xcode_15.1.app || true + sudo rm -rf /Applications/Xcode_15.2.app || true + sudo rm -rf /Applications/Xcode_15.3.app || true + df -h + - name: Install & display rust toolchain run: rustup show