Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/actions/disk-cleanup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Disk cleanup
description: Free disk space

runs:
using: composite

steps:
- shell: bash
run: |
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /usr/share/swift
sudo rm -rf /usr/lib/google-cloud-sdk
sudo rm -rf /usr/local/aws*
sudo rm -rf /usr/local/julia*
sudo rm -rf /usr/local/share/chromium
df -h
9 changes: 9 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/disk-cleanup
if: ${{ matrix.platform == 'android' }}

- run: sudo xcode-select -s /Applications/Xcode_14.2.app/Contents/Developer
if: ${{ matrix.platform == 'ios' }}

Expand Down Expand Up @@ -217,6 +220,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/disk-cleanup
if: ${{ matrix.platform == 'android' }}

- name: Sentry Release
run: |
SENTRY_RELEASE_CANDIDATE=$(echo 'e2e/${{ github.ref }}' | perl -pe 's/\//-/g')
Expand Down Expand Up @@ -365,6 +371,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/disk-cleanup
if: ${{ matrix.platform == 'android' }}

- name: Setup Global Xcode Tools
if: ${{ matrix.platform == 'ios' }}
run: which xcbeautify || brew install xcbeautify
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/native-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/disk-cleanup

- uses: actions/setup-java@v4
with:
java-version: '17'
Expand Down