Skip to content

Commit

Permalink
git: Kill XProtect on git runners to work around race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Aug 3, 2024
1 parent 79b8b77 commit b523f55
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b523f55

Please sign in to comment.