Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ci: fix android SDK build by removing unused preinstalled tools from github runner image (#16811)

Christoph Settgast42b2dd41c177
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1ea9b8f0f1..a007cf5a9c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -103,8 +103,19 @@ jobs:
android-sdk-build:
name: Build mobile SDK (Android)
runs-on: ubuntu-latest
- container: reactnativecommunity/react-native-android:v15.0
+ container:
+ image: reactnativecommunity/react-native-android:v15.0
+ volumes:
+ - /usr:/host/usr
steps:
+ - name: Make space in image by removing preinstalled, but unused SDKs
+ run: |
+ df -h /
+ rm -rf /host/usr/local/lib/android
+ rm -rf /host/usr/local/.ghcup
+ rm -rf /host/usr/share/dotnet
+ rm -rf /host/usr/share/swift
+ df -h /
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with: