Skip to content

Compact parallel cleaner? #13

Compact parallel cleaner?

Compact parallel cleaner? #13

Workflow file for this run

name: Cleaner
on:
push:
branches:
- cleaner-test
# Reference: https://github.com/actions/runner-images/blob/ubuntu22/20231001.1/images/linux/Ubuntu2204-Readme.md
jobs:
cleaner:
name: Cleaner
runs-on: ubuntu-22.04
steps:
- name: Cleaner
run: |
df -h /
docker system prune --all --force || true >/dev/null &
sudo rm -rf /imagegeneration/installers || true >/dev/null &
if [ -n "${ANDROID_SDK_ROOT-}" ]; then
sudo rm -rf -- "$ANDROID_SDK_ROOT"|| true >/dev/null &
fi
wait
df -h /
# - name: Files
# run: sudo find / -type f -mount > files || true
# - uses: actions/upload-artifact@v3
# with:
# name: files
# path: files