Skip to content

Commit

Permalink
CI mac: if unable to umount dmg, try again
Browse files Browse the repository at this point in the history
`hdiutil umount` occasionally fails with `hdiutil: create failed -
Resource busy`. Perhaps some macOS process is touching the content
of the DMG (there are some reports in different GH about
`XProtectBehaviorService` or something).

refer to GH-367
  • Loading branch information
MartinPulec committed Jan 5, 2024
1 parent 5b0b996 commit f809432
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ jobs:
run: .github/scripts/macOS/sign.sh uv-qt.app
- name: make dmg
run: |
make osx-gui-dmg
for n in `seq 5`; do # do more attempts
if make osx-gui-dmg; then break; fi
if [ $n -eq 5 ]; then false; fi
sleep $((n * 10))
done
mv UltraGrid.dmg UltraGrid-$VERSION.dmg
- name: Upload Release Asset
id: upload-release
Expand Down

0 comments on commit f809432

Please sign in to comment.