Skip to content

Commit

Permalink
dont fail when patch doesnt apply
Browse files Browse the repository at this point in the history
  • Loading branch information
bend-n committed Apr 4, 2023
1 parent 5cb48c2 commit 699bf97
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,5 @@ 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
if [[ -n $err ]]; then
echo "::error file={${err}}::Go update your patch"
exit 1
fi
[[ -n $err ]] && echo "::warning file={${err}}::Patch did not apply"
shell: bash

0 comments on commit 699bf97

Please sign in to comment.