Skip to content

Commit

Permalink
Revert "try to fix exit code in case fail is set to false"
Browse files Browse the repository at this point in the history
This reverts commit c706bce.
  • Loading branch information
mre committed Oct 9, 2024
1 parent c706bce commit bfbd463
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ echo "exit_code=$exit_code" >> $GITHUB_OUTPUT
# If `fail` is set to `true` (and it is by default), propagate the real exit
# value to the workflow runner. This will cause the pipeline to fail on
# `exit != # 0`.
# Otherwise, always exit cleanly with status code 0.
if [ "$INPUT_FAIL" = true ] ; then
exit ${exit_code}
else
exit 0
fi

0 comments on commit bfbd463

Please sign in to comment.