builds godot
Diffstat (limited to '.github/actions/setup/action.yml')
| -rw-r--r-- | .github/actions/setup/action.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 68be9c4..ca3d7e2 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -40,6 +40,9 @@ runs: # Patch godot (cd repo && mv "${{ env.modules }}" ../godot/custom.py && mv patches ../godot) cd godot - echo "applying $(find patches/* | tr '\n' ' ')..." - git apply patches/* || echo "::warning::Some patches failed" + for patch in patches/*; do git apply --ignore-whitespace "$patch" || err="$patch"; done + if [[ -n $err ]]; then + echo "::error file={${err}}::Go update your patch" + exit 1 + fi shell: bash |