Skip to content

Commit

Permalink
Add wait loop for disk availability in macOS build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchinchilla committed Jun 26, 2024
1 parent 8cb8165 commit 1b79dbf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ jobs:
# Mount the DMG
hdiutil attach "artifacts/${{ matrix.dir }}/geph-macos.dmg" -mountpoint "$TEMP_DIR"
# Wait for the disk to be available
for i in {1..10}; do
if [ -d "/Volumes/Geph Installer" ]; then
break
fi
sleep 1
done
# Create a symbolic link to /Applications
ln -s /Applications "$TEMP_DIR/Applications"
Expand Down

0 comments on commit 1b79dbf

Please sign in to comment.