Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

[CI] Adds free-disk-space action to fix CI (#1219)

Jose Alcérrecadba36d694fbd
diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml
index f8595f221..5f501b6c0 100644
--- a/.github/workflows/Build.yaml
+++ b/.github/workflows/Build.yaml
@@ -147,6 +147,17 @@ jobs:
api-level: [26, 30]
steps:
+ - name: Delete unnecessary tools 🔧
+ uses: jlumbroso/[email protected]
+ with:
+ android: false # Don't remove Android tools
+ tool-cache: true # Remove image tool cache - rm -rf "$AGENT_TOOLSDIRECTORY"
+ dotnet: true # rm -rf /usr/share/dotnet
+ haskell: true # rm -rf /opt/ghc...
+ swap-storage: true # rm -f /mnt/swapfile (4GiB)
+ docker-images: false # Takes 16s, enable if needed in the future
+ large-packages: false # includes google-cloud-sdk and it's slow
+
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules