Skip to content

Commit

Permalink
Kill XProtect to work around actions/runner-images#7522
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBriza committed Oct 10, 2023
1 parent a5b943c commit 485884c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,9 @@ jobs:
IMGUR_API_KEY=${{ secrets.IMGUR_API_KEY }} ./dist/macos/build.sh
- name: Generate .dmg
run: |
# A workaround mentioned here https://github.com/actions/runner-images/issues/7522
echo killing...; sudo pkill -9 XProtect >/dev/null || true;
echo waiting...; while pgrep XProtect; do sleep 3; done;
"$Qt6_DIR"/bin/macdeployqt build_macos/app/Lith.app -qmldir=. -dmg -appstore-compliant #-codesign=Z52EFCPL6D
- name: Upload artifacts to GitHub
if: github.event_name != 'create'
Expand Down

0 comments on commit 485884c

Please sign in to comment.