Skip to content

Commit

Permalink
ci(macOS): retry dmg package if failed once
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Feb 21, 2025
1 parent 3a7863c commit 29b3c56
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,23 @@ jobs:
--hide-extension "Slippi_Dolphin.app" \
"${{ env.FILE_NAME }}.dmg" \
"./build/Binaries/"
if [ $? -ne 0 ];
then
sleep 30
./Tools/create-dmg/run.sh --no-internet-enable \
--volname "Slippi Dolphin Beta Installer" \
--volicon "Data/slippi_dmg_icon.icns" \
--background "Data/slippi_dmg_background.png" \
--text-size 14 \
--window-pos 200 120 \
--window-size 590 610 \
--icon-size 100 \
--app-drop-link 440 196 \
--icon "Slippi_Dolphin.app" 140 196 \
--hide-extension "Slippi_Dolphin.app" \
"${{ env.FILE_NAME }}.dmg" \
"./build/Binaries/"
fi
mv "${{ env.FILE_NAME }}.dmg" artifact/
- name: "Sign and Notarize ${{ matrix.build_type }} Release DMG"
if: env.CERTIFICATE_MACOS_APPLICATION != null
Expand Down

0 comments on commit 29b3c56

Please sign in to comment.