mirror of
https://github.com/waku-org/waku-interop-tests.git
synced 2025-01-29 00:55:11 +00:00
aca216e95a
* remove unwated software * log fix * log fix
28 lines
859 B
YAML
28 lines
859 B
YAML
# Inspired by https://github.com/AdityaGarg8/remove-unwanted-software
|
|
# to free up disk space. Currently removes Dotnet, Android and Haskell.
|
|
name: Remove unwanted software
|
|
description: Default GitHub runners come with a lot of unnecessary software
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Disk space report before modification
|
|
shell: bash
|
|
run: |
|
|
echo "==> Available space before cleanup"
|
|
echo
|
|
df -h
|
|
- name: Maximize build disk space
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
sudo rm -rf /usr/share/dotnet
|
|
sudo rm -rf /usr/local/lib/android
|
|
sudo rm -rf /opt/ghc
|
|
sudo rm -rf /usr/local/.ghcup
|
|
- name: Disk space report after modification
|
|
shell: bash
|
|
run: |
|
|
echo "==> Available space after cleanup"
|
|
echo
|
|
df -h
|