From db06aa705c442dbfad9e98209e00e1dedb1ff1a0 Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Mon, 21 Oct 2024 00:18:13 +0800 Subject: [PATCH] Add comment regarding XProtectBehaviorService kill --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 063771412..cd75f470e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -480,6 +480,8 @@ jobs: -DCPACK_BUNDLE_APPLE_CERT_APP="-" \ .. && \ make -j4; + # Reduce chance that random hdiutil "Resource busy" error occurs when creating the dmg + # https://github.com/actions/runner-images/issues/7522#issuecomment-1556766641 echo killing XProtectBehaviorService; sudo pkill -9 XProtect >/dev/null || true; echo waiting for XProtectBehaviorService kill; while pgrep XProtect; do sleep 3; done; brew install kadwanev/brew/retry