From 0c19e23581334b96442f52a5f405120b683ab83a Mon Sep 17 00:00:00 2001 From: eclipse-ecal-bot <111572016+eclipse-ecal-bot@users.noreply.github.com> Date: Mon, 15 Jul 2024 17:26:54 +0200 Subject: [PATCH] kill XProtect to avoid malware scan of dmg image (#1659) (#1660) Co-authored-by: Rex Schilasky <49162693+rex-schilasky@users.noreply.github.com> --- .github/workflows/build-macos.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 2fe9868bda..80cdfae89e 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -12,6 +12,13 @@ jobs: runs-on: macos-13 steps: + # XProtect can cause random failures if it decides that the DMG we create + # during the packaging phase is malware. + # See https://github.com/actions/runner-images/issues/7522 and https://github.com/servo/servo/pull/30779 + - name: Kill XProtectBehaviorService + run: | + echo Killing XProtect.; sudo pkill -9 XProtect >/dev/null || true; + - name: Downgrade Python version uses: actions/setup-python@v4 id: cp39