Skip to content

Commit

Permalink
test with error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Dec 4, 2024
1 parent 0be51fc commit 12cfc90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exit_status=0
for spec in ${openapi_specs}; do
echo "Comparing ${spec}"
if ! "${repo_base_dir}/scripts/openapi-diff.bash" breaking --fail-on ERR "${base_remote}/${spec}" "/specs/${spec}"; then
echo "::warning file=${spec}::Is not backwards compatible"
echo "::error file=${spec}::${spec} is not backwards compatible with ${base_remote}/${spec}"
exit_status=$(("${exit_status}" + "1"))
fi
printf "%0.s=" {1..100} && printf "\n"
Expand Down

0 comments on commit 12cfc90

Please sign in to comment.