Skip to content

Commit 211aaaa

Browse files
committed
aarch64: detach volumes before attach
1 parent cea0d50 commit 211aaaa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/aarch64.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
run: |
2929
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 16g -volname build build.dmg
3030
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 1g -volname tools tools.dmg
31+
# Detach old if exists
32+
hdiutil detach /Volumes/build | true
33+
hdiutil detach /Volumes/tools | true
34+
# Attach new
3135
hdiutil attach build.dmg.sparseimage
3236
hdiutil attach tools.dmg.sparseimage
3337
ls /Volumes

0 commit comments

Comments
 (0)