From ef9e82b51945b5f9907963f3cbb10474c4336b8b Mon Sep 17 00:00:00 2001 From: Dino Pacandi Date: Mon, 9 Sep 2024 12:00:52 +0200 Subject: [PATCH 1/3] Macos android sdk cleanup --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43692ac7c..489a267f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -172,6 +172,11 @@ jobs: - name: Install deps run: brew install protobuf sccache + - name: Disk Cleanup + run: | + sudo rm -rfv /Users/runner/Library/Android/sdk + df -h + - name: Install & display rust toolchain run: rustup show From 691fd761ef6dce292a29edc655c828c553657865 Mon Sep 17 00:00:00 2001 From: Dino Pacandi Date: Mon, 9 Sep 2024 12:07:05 +0200 Subject: [PATCH 2/3] More deletions --- .github/workflows/release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 489a267f2..d167d7594 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -172,9 +172,18 @@ jobs: - name: Install deps run: brew install protobuf sccache + # Temporary dirty fix + # https://github.com/actions/runner-images/issues/10511 - name: Disk Cleanup run: | - sudo rm -rfv /Users/runner/Library/Android/sdk + xcrun simctl delete all || true + sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/* || true + sudo rm -rfv /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 From a9b27dc72a9d24d436aba075f9a9f165a4a0ca44 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 12:14:57 +0200 Subject: [PATCH 3/3] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d167d7594..d4b8a9a0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -178,7 +178,7 @@ jobs: run: | xcrun simctl delete all || true sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/* || true - sudo rm -rfv /Users/runner/Library/Android/sdk || 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