From a9458f79b1aafdf82b5fd05b70d92861c34a6c24 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Wed, 28 Feb 2024 15:35:49 +0100 Subject: [PATCH] .github: run cleanup *after* taking inventory [skip ci] Signed-off-by: Joachim Wiberg --- .github/workflows/inventory.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/inventory.yml b/.github/workflows/inventory.yml index 6a7c2ce9d..59fe26602 100644 --- a/.github/workflows/inventory.yml +++ b/.github/workflows/inventory.yml @@ -25,8 +25,9 @@ jobs: echo "Available containers: =========================================================" docker ps -a cleanup: - runs-on: ubuntu-latest if: ${{ inputs.cleanup }} + needs: inventory + runs-on: ubuntu-latest steps: - name: Cleaning up cruft ... run: |