Skip to content

Commit 6e365da

Browse files
committed
ci: free disk space before macOS build
1 parent 1172906 commit 6e365da

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ jobs:
3333
- name: Checkout
3434
uses: actions/checkout@v4
3535

36+
- name: Free disk space (macOS)
37+
if: matrix.platform == 'darwin/universal'
38+
run: |
39+
sudo rm -rf /Library/Developer/CoreSimulator
40+
sudo rm -rf /Applications/Xcode_*.app 2>/dev/null || true
41+
df -h /
42+
3643
- name: Setup Go
3744
uses: actions/setup-go@v5
3845
with:

0 commit comments

Comments
 (0)