From 73a19061dbf50174cad539a77a16af7d83d2681b Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Fri, 4 Jul 2025 18:43:00 -0400 Subject: [PATCH] fixed some minor things --- .github/actions/disk_space/action.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/actions/disk_space/action.yml b/.github/actions/disk_space/action.yml index e6be5fa..3f3358f 100644 --- a/.github/actions/disk_space/action.yml +++ b/.github/actions/disk_space/action.yml @@ -12,13 +12,14 @@ runs: - name: Get disk usage shell: bash run: | - df -h | head -n 1 | cut -d ' ' -f 3,5 - df -h | grep /\$ | cut -d ' ' -f 3,5 + # df -h | head -n 1 | cut -d ' ' -f 3,5 + # df -h | grep /\$ | cut -d ' ' -f 3,5 + df -h - name: Detailed usage shell: bash run: | - du -h -d2 / 2>/dev/null | sort -hr | head -n 20 || true + du -h -d3 / 2>/dev/null | sort -hr | head -n 20 || true - name: Clear shell: bash @@ -40,9 +41,10 @@ runs: shell: bash run: | echo "used use%" - df -h | grep /\$ | cut -d ' ' -f 5,9 + # df -h | grep /\$ | cut -d ' ' -f 5,9 + df -h - name: Detailed usage shell: bash run: | - du -h -d2 / 2>/dev/null | sort -hr | head -n 20 || true + du -h -d3 / 2>/dev/null | sort -hr | head -n 20 || true