builds godot
Diffstat (limited to '.github/actions/setup/action.yml')
| -rw-r--r-- | .github/actions/setup/action.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index db4821f..51060c6 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -45,6 +45,10 @@ runs: echo "::group::Patch godot" (cd repo && mv "${{ env.modules }}" ../godot/custom.py && mv patches ../godot) cd godot - for patch in patches/*; do git apply --ignore-whitespace "$patch" || echo "::error file={${patch}}::Go update your patch"; done + for patch in patches/*; do git apply --ignore-whitespace "$patch" || err="$patch"; done + if [[ -z $err ]]; then + echo "::error file={${err}}::Go update your patch" + exit 1 + fi echo "::endgroup::" shell: bash |