1
0
mirror of synced 2025-01-10 21:41:53 +01:00

git: Add retry mechanism for creating dmg on x86 mac

This commit is contained in:
WerWolv 2024-12-24 00:00:22 +01:00
parent 2ae69e8e72
commit 0af21505d7

View File

@ -305,7 +305,13 @@ jobs:
cd bundle
ln -s /Applications Applications
cd ..
hdiutil create -volname "ImHex" -srcfolder bundle -ov -format UDZO imhex-${{ env.IMHEX_VERSION }}-macOS${{ matrix.suffix }}-x86_64.dmg
for i in $(seq 1 10); do
if hdiutil create -volname "ImHex" -srcfolder bundle -ov -format UDZO imhex-${{ env.IMHEX_VERSION }}-macOS${{ matrix.suffix }}-x86_64.dmg; then
echo "Created dmg after ${i} attempts"
break
fi
sleep 10
done
- name: ⬆️ Upload DMG
uses: actions/upload-artifact@v4