Skip to content

Commit

Permalink
GHA CI: revise packaging failure detection
Browse files Browse the repository at this point in the history
Fix up 1d221c2.
PR #20664.
  • Loading branch information
Chocobo1 committed Apr 9, 2024
1 parent d407e95 commit 01cc4ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci_macos.yaml
Expand Up @@ -128,11 +128,13 @@ jobs:
pushd build
PACKAGE_RETRY=0
while [ "$PACKAGE_RETRY" -lt "3" ]; do
if macdeployqt "$appName.app" -dmg -no-strip; then
macdeployqt "$appName.app" -dmg -no-strip
if [ -f "$appName.dmg" ]; then
break
fi
sleep 5s
sleep 5
PACKAGE_RETRY=$((PACKAGE_RETRY + 1))
echo "Retry $PACKAGE_RETRY..."
done
popd
# prepare upload folder
Expand Down

0 comments on commit 01cc4ea

Please sign in to comment.