builds godot
Diffstat (limited to '.github/actions/setup/action.yml')
-rw-r--r--.github/actions/setup/action.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index 0963d97..ca3d7e2 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -41,5 +41,8 @@ runs:
(cd repo && mv "${{ env.modules }}" ../godot/custom.py && mv patches ../godot)
cd godot
for patch in patches/*; do git apply --ignore-whitespace "$patch" || err="$patch"; done
- [[ -n $err ]] && echo "::warning file={${err}}::Patch did not apply"
+ if [[ -n $err ]]; then
+ echo "::error file={${err}}::Go update your patch"
+ exit 1
+ fi
shell: bash