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

* [CI] Adds free-disk-space action to fix CI
pull/1228/head
Jose Alcérreca 9 months ago committed by GitHub
parent fa532e1a98
commit dba36d694f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -147,6 +147,17 @@ jobs:
api-level: [26, 30]
steps:
- name: Delete unnecessary tools 🔧
uses: jlumbroso/free-disk-space@v1.3.1
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

Loading…
Cancel
Save