Skip to content

Commit

Permalink
chore(GHA): workaround DMG building error on macos-13 (intel)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibressler committed Feb 11, 2025
1 parent 1771c12 commit 9f92aa6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ jobs:
if: startsWith(matrix.os, 'macos')
shell: sh
run: |
if [ ${{ matrix.os }} == "macos-13" ]; then
# workaround 'hdiutil: create failed - Resource busy'
# https://github.com/actions/runner-images/issues/7522#issuecomment-1556766641
sudo pkill -9 XProtect >/dev/null || true;
while pgrep XProtect; do sleep 3; done;
fi
cd dist
fn="$(ls -d LiveFT*.app)"; fn="${fn%.*}"
hdiutil create -fs HFS+ -srcfolder "$fn.app" -volname "$fn" "$fn.dmg"
Expand Down

0 comments on commit 9f92aa6

Please sign in to comment.