Closed xiJulian closed 6 months ago
The macOS build fails:
Done running the AppleScript...
Fixing permissions...
Done fixing permissions
Skipping blessing on sandbox
Deleting .fseventsd
Unmounting disk image...
hdiutil: couldn't eject "disk2" - Resource busy
Wait a moment...
Unmounting disk image...
hdiutil: couldn't eject "disk2" - Resource busy
Wait a moment...
Unmounting disk image...
hdiutil: couldn't eject "disk2" - Resource busy
Error: Process completed with exit code 16.
@kercre123 this shouldn't happen but create-dmg is weird sometimes. could you try re-running the job?
Worked on the third try. I got this on the second try:
Creating dmg for arm64
Creating disk image...
Error: Process completed with exit code 1.
Maybe just needs some error handling for those two bits? Like, remove set -e
from the script and make it so it repeats whenever the commands fail?
we can do that, or we can make the workflow automatically re-run if it fails
The macOS build script now builds for two architectures (amd64 and arm64). I've also added a GitHub Actions workflow that automatically builds and uploads Windows and macOS apps when a new release is created.