Skip to content

Commit

Permalink
[CI] Adds free-disk-space action to fix CI (#1219)
Browse files Browse the repository at this point in the history
* [CI] Adds free-disk-space action to fix CI
  • Loading branch information
JoseAlcerreca committed Feb 19, 2024
1 parent fa532e1 commit dba36d6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dba36d6

Please sign in to comment.