From b523f55984030d82f82bb9340b9ac464c2698594 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 3 Aug 2024 18:32:45 +0200 Subject: [PATCH] git: Kill XProtect on git runners to work around race condition --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e748f9f25..03e0c7d05 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -289,6 +289,12 @@ jobs: cd build/install chmod -R 755 ImHex.app/ + - name: 🔫 Kill XProtect + run: | + # See https://github.com/actions/runner-images/issues/7522 + echo Killing XProtect...; sudo pkill -9 XProtect >/dev/null || true; + echo Waiting for XProtect process...; while pgrep XProtect; do sleep 3; done; + - name: 📦 Create DMG run: | set -x @@ -382,6 +388,12 @@ jobs: cd out chmod -R 755 ImHex.app/ + - name: 🔫 Kill XProtect + run: | + # See https://github.com/actions/runner-images/issues/7522 + echo Killing XProtect...; sudo pkill -9 XProtect >/dev/null || true; + echo Waiting for XProtect process...; while pgrep XProtect; do sleep 3; done; + - name: 📦 Create DMG run: | set -x