Skip to content

Commit

Permalink
Free up space on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Sep 9, 2024
1 parent 2632740 commit 7fc9d83
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@ jobs:
sudo rm -rf /usr/share/swift
# du -sh /usr/*/* 2>/dev/null | sort -h || true
- name: Free up space on macOS
if: ${{ matrix.environment == 'macos-latest' }}
run: |
# https://github.com/actions/runner-images/issues/2840#issuecomment-2334584217
ls /Applications
find /Applications -name 'Xcode*' | sort | head -n1 | xargs rm -rf
# du -sh /*/* 2>/dev/null | sort -h || true
- name: Test
run: |
if [[ '${{ matrix.package }}' =~ ^cargo-dylint ]]; then
Expand Down

0 comments on commit 7fc9d83

Please sign in to comment.