mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
GHA CI: revise packaging failure detection
Fix up 1d221c22e4.
PR #20664.
This commit is contained in:
6
.github/workflows/ci_macos.yaml
vendored
6
.github/workflows/ci_macos.yaml
vendored
@@ -128,11 +128,13 @@ jobs:
|
|||||||
pushd build
|
pushd build
|
||||||
PACKAGE_RETRY=0
|
PACKAGE_RETRY=0
|
||||||
while [ "$PACKAGE_RETRY" -lt "3" ]; do
|
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
|
break
|
||||||
fi
|
fi
|
||||||
sleep 5s
|
sleep 5
|
||||||
PACKAGE_RETRY=$((PACKAGE_RETRY + 1))
|
PACKAGE_RETRY=$((PACKAGE_RETRY + 1))
|
||||||
|
echo "Retry $PACKAGE_RETRY..."
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
# prepare upload folder
|
# prepare upload folder
|
||||||
|
|||||||
Reference in New Issue
Block a user