From 4b534acde81edab1c330e403e409bf2d51ec0913 Mon Sep 17 00:00:00 2001 From: Jordan Carlin Date: Tue, 16 Jul 2024 07:13:40 -0700 Subject: [PATCH] add test --- .github/workflows/test.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..04285aaf3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,38 @@ +name: List Storage Space +on: [workflow_dispatch] + + +jobs: + storage-space: + runs-on: ubuntu-22 + + steps: + - name: Root + run: | + df -h + cd / + du -h --max-depth=1 / | sort -h + - name: /usr + run: | + cd /usr + du -h --max-depth=1 / | sort -h + - name: /usr/bin + run: | + cd /usr/bin + du -h --max-depth=1 / | sort -h + - name: /usr/local + run: | + cd /usr/local + du -h --max-depth=1 / | sort -h + - name: /usr/share + run: | + cd /usr/share + du -h --max-depth=1 / | sort -h + - name: /opt + run: | + cd /opt + du -h --max-depth=1 / | sort -h + - name: /opt/hostedtoolcache + run: | + cd /opt/hostedtoolcache + du -h --max-depth=1 / | sort -h