diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a42041c7b..5ecf54dd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -406,6 +406,14 @@ jobs: - name: Install dependencies run: dart pub get + # Hack to free up space on the runner to ensure we have enough diskspace to run the emulator + - name: Remove unnecessary files (dotnet, etc.) + run: | + du -sh . + sudo rm -rf /usr/share/dotnet + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + du -sh . + # TODO: Move CI run tests on Android Emulator into device farm https://github.com/realm/realm-dart/issues/691 - name: Setup Android Emulator cache uses: actions/cache@v4