Skip to content

Commit 3d382f7

Browse files
committed
Improve build-macos workflow
1 parent f83ed6d commit 3d382f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,12 @@ jobs:
288288
- name: Checkout repository
289289
uses: actions/checkout@v4
290290

291+
- name: Free up disk space (macOS)
292+
run: |
293+
sudo rm -rf ~/Library/Caches/*
294+
sudo rm -rf ~/Library/Developer/Xcode/DerivedData/*
295+
sudo rm -rf /Library/Developer/CommandLineTools
296+
291297
- name: Get Rust version from rust-toolchain.toml
292298
id: rust-version
293299
run: |

0 commit comments

Comments
 (0)