From 82bfced1932b3577bf3926927b63746ab098b022 Mon Sep 17 00:00:00 2001 From: SuLingGG <1215009714@QQ.COM> Date: Fri, 19 Nov 2021 08:13:20 +0800 Subject: [PATCH] Workflows: Always print disk usage --- .github/workflows/bcm27xx-bcm2708.yml | 3 +++ .github/workflows/bcm27xx-bcm2709.yml | 3 +++ .github/workflows/bcm27xx-bcm2710.yml | 3 +++ .github/workflows/bcm27xx-bcm2711.yml | 3 +++ .github/workflows/ipq40xx-generic.yml | 3 +++ .github/workflows/rockchip-armv8.yml | 3 +++ .github/workflows/x86-64.yml | 3 +++ 7 files changed, 21 insertions(+) diff --git a/.github/workflows/bcm27xx-bcm2708.yml b/.github/workflows/bcm27xx-bcm2708.yml index 98a5b4c7a..d74f2593a 100644 --- a/.github/workflows/bcm27xx-bcm2708.yml +++ b/.github/workflows/bcm27xx-bcm2708.yml @@ -328,7 +328,10 @@ jobs: zip -r $DEVICE_TARGET-$DEVICE_SUBTARGET.zip bin - name: Print Disk Usage + if: always() run: | + lsblk -f + df -h sudo btrfs filesystem usage $GITHUB_WORKSPACE - name: Upload Bin Archive diff --git a/.github/workflows/bcm27xx-bcm2709.yml b/.github/workflows/bcm27xx-bcm2709.yml index 353b55556..174549a47 100644 --- a/.github/workflows/bcm27xx-bcm2709.yml +++ b/.github/workflows/bcm27xx-bcm2709.yml @@ -328,7 +328,10 @@ jobs: zip -r $DEVICE_TARGET-$DEVICE_SUBTARGET.zip bin - name: Print Disk Usage + if: always() run: | + lsblk -f + df -h sudo btrfs filesystem usage $GITHUB_WORKSPACE - name: Upload Bin Archive diff --git a/.github/workflows/bcm27xx-bcm2710.yml b/.github/workflows/bcm27xx-bcm2710.yml index abed1516a..f13c64658 100644 --- a/.github/workflows/bcm27xx-bcm2710.yml +++ b/.github/workflows/bcm27xx-bcm2710.yml @@ -328,7 +328,10 @@ jobs: zip -r $DEVICE_TARGET-$DEVICE_SUBTARGET.zip bin - name: Print Disk Usage + if: always() run: | + lsblk -f + df -h sudo btrfs filesystem usage $GITHUB_WORKSPACE - name: Upload Bin Archive diff --git a/.github/workflows/bcm27xx-bcm2711.yml b/.github/workflows/bcm27xx-bcm2711.yml index 9684bed02..ec282ec90 100644 --- a/.github/workflows/bcm27xx-bcm2711.yml +++ b/.github/workflows/bcm27xx-bcm2711.yml @@ -330,7 +330,10 @@ jobs: zip -r $DEVICE_TARGET-$DEVICE_SUBTARGET.zip bin - name: Print Disk Usage + if: always() run: | + lsblk -f + df -h sudo btrfs filesystem usage $GITHUB_WORKSPACE - name: Upload Bin Archive diff --git a/.github/workflows/ipq40xx-generic.yml b/.github/workflows/ipq40xx-generic.yml index 4da6dc0c7..123408e74 100644 --- a/.github/workflows/ipq40xx-generic.yml +++ b/.github/workflows/ipq40xx-generic.yml @@ -324,7 +324,10 @@ jobs: zip -r $DEVICE_TARGET-$DEVICE_SUBTARGET.zip bin - name: Print Disk Usage + if: always() run: | + lsblk -f + df -h sudo btrfs filesystem usage $GITHUB_WORKSPACE - name: Upload Bin Archive diff --git a/.github/workflows/rockchip-armv8.yml b/.github/workflows/rockchip-armv8.yml index 1cb16dc4f..8ffdcdb5c 100644 --- a/.github/workflows/rockchip-armv8.yml +++ b/.github/workflows/rockchip-armv8.yml @@ -327,7 +327,10 @@ jobs: zip -r $DEVICE_TARGET-$DEVICE_SUBTARGET.zip bin - name: Print Disk Usage + if: always() run: | + lsblk -f + df -h sudo btrfs filesystem usage $GITHUB_WORKSPACE - name: Upload Bin Archive diff --git a/.github/workflows/x86-64.yml b/.github/workflows/x86-64.yml index 0f263f546..2215b710f 100644 --- a/.github/workflows/x86-64.yml +++ b/.github/workflows/x86-64.yml @@ -327,7 +327,10 @@ jobs: zip -r $DEVICE_TARGET-$DEVICE_SUBTARGET.zip bin - name: Print Disk Usage + if: always() run: | + lsblk -f + df -h sudo btrfs filesystem usage $GITHUB_WORKSPACE - name: Upload Bin Archive