From 19a6e2a08a1f15aec81f513192bda9f6fd3faa2a Mon Sep 17 00:00:00 2001 From: Arend-Jan van Hilten Date: Tue, 25 Mar 2025 22:31:58 +0100 Subject: [PATCH] Accept improvement from @coderabbitai --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ebb128b66..688c8a74e 100644 --- a/action.yml +++ b/action.yml @@ -147,7 +147,9 @@ runs: # copy os userpatches and custom mkdir -pv build/userpatches rsync -av os/userpatches/. build/userpatches/ - [[ -d custom/userpatches ]] && rsync -av custom/userpatches/. build/userpatches/ || true # if that folder doesnt exist, don't fail the build + if [[ -d custom/userpatches ]]; then + rsync -av custom/userpatches/. build/userpatches/ + fi - shell: bash run: |