From d68ae58854a6b1311b3ac4cf22b15128d71017a4 Mon Sep 17 00:00:00 2001 From: jo Date: Fri, 10 Feb 2023 23:26:11 +0100 Subject: [PATCH] ci: always print diff when schema changes --- .github/workflows/api-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/api-schema.yml b/.github/workflows/api-schema.yml index f78ed50b3..7005ae7e2 100644 --- a/.github/workflows/api-schema.yml +++ b/.github/workflows/api-schema.yml @@ -53,11 +53,11 @@ jobs: git checkout $commit make --quiet schema + git diff -- schema.yml git add schema.yml git diff-index --quiet HEAD -- || { echo "ERROR: Schema is outdated for commit $commit" git show --quiet - git diff -- schema.yml exit 1 } done