fix: arithmetic increment failing with set -e in nix-update workflow

This commit is contained in:
m3tm3re
2026-01-19 18:22:01 +01:00
parent 58868d0867
commit d3809a7b5e

View File

@@ -167,7 +167,7 @@ jobs:
for pkg in $UPDATABLE_PACKAGES; do
(run_update "$pkg" && echo "$pkg" >> /tmp/success.txt || true) &
((JOB_COUNT++))
JOB_COUNT=$((JOB_COUNT + 1))
# Wait if we hit max concurrent jobs
if [ $JOB_COUNT -ge $MAX_JOBS ]; then