From 3a6fefba5410a70e131f2f7fd637d120d7a8d430 Mon Sep 17 00:00:00 2001 From: Paul Scheffler Date: Wed, 20 Nov 2024 16:44:35 +0100 Subject: [PATCH] ci: Show diff on clean check --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f75f06cf..0775a41b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,4 +48,6 @@ jobs: run: make ${{ matrix.target }}-all - name: Check whether clean - run: git status && test -z "$(git status --porcelain --ignore-submodules)" + run: | + git status && test -z "$(git status --porcelain --ignore-submodules)" + git diff