From 2cd46aceb5571db4746fdac9a32a5755f360b26b Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sun, 3 Mar 2024 17:08:40 +0100 Subject: [PATCH] Fix for Github Action - don't use custom folder if it doesn't exists Closes https://github.com/armbian/build/issues/6332 --- action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 1ac1bd363374..0b7a1f80eec9 100644 --- a/action.yml +++ b/action.yml @@ -143,8 +143,7 @@ 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/ + [[ -d custom/userpatches ]] && rsync -av custom/userpatches/. build/userpatches/ - shell: bash run: |