Skip to content

Commit 12cfc90

Browse files
committed
test with error message
1 parent 0be51fc commit 12cfc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/github/helpers/openapi-specs-backwards-compatibility.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exit_status=0
1717
for spec in ${openapi_specs}; do
1818
echo "Comparing ${spec}"
1919
if ! "${repo_base_dir}/scripts/openapi-diff.bash" breaking --fail-on ERR "${base_remote}/${spec}" "/specs/${spec}"; then
20-
echo "::warning file=${spec}::Is not backwards compatible"
20+
echo "::error file=${spec}::${spec} is not backwards compatible with ${base_remote}/${spec}"
2121
exit_status=$(("${exit_status}" + "1"))
2222
fi
2323
printf "%0.s=" {1..100} && printf "\n"

0 commit comments

Comments
 (0)