Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

ci: don't sleep after the last staple attempt

EtienneLescotf3db06877d35
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3468db39e..32424cf6d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -676,6 +676,7 @@ jobs:
run: |
for attempt in 1 2 3 4 5; do
xcrun stapler staple "${{ steps.dmg.outputs.dmg_path }}" && exit 0
+ [ "$attempt" -eq 5 ] && break
echo "Staple attempt $attempt failed, retrying in 30 s"
sleep 30
done