git: Kill XProtect on git runners to work around race condition
This commit is contained in:
parent
79b8b77b25
commit
b523f55984
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user