ci: simplify action step
return after failure, do not check again in another if statement. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b669f0c017
commit
0b67f90b2d
1 changed files with 1 additions and 4 deletions
5
.github/workflows/coding_guidelines.yml
vendored
5
.github/workflows/coding_guidelines.yml
vendored
|
@ -52,8 +52,5 @@ jobs:
|
|||
errors="${errors//$'\n'/'%0A'}"
|
||||
errors="${errors//$'\r'/'%0D'}"
|
||||
echo "::error file=output.txt::$errors"
|
||||
exit=1
|
||||
fi
|
||||
if [ ${exit} == 1 ]; then
|
||||
exit 1;
|
||||
exit 1;
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue