You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/bin/golang-validation
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ maybe_cleanup() {
35
35
echo"INFO: Rebuild list: ${PACKAGES[*]}"| tee "${GITHUB_STEP_SUMMARY}"
36
36
37
37
output=""
38
+
i=0
38
39
declare -A failed=()
39
40
start_building_arch="$(date +%10s%3N)"
40
41
forpackagein"${PACKAGES[@]}";do
@@ -52,6 +53,10 @@ for package in "${PACKAGES[@]}"; do
52
53
echo# newline
53
54
exit"$status"
54
55
)"|| failed["${package}${ARCH}"]="${output}"
56
+
i=$(( i++))
57
+
if(( i >50));then
58
+
break
59
+
fi
55
60
done
56
61
echo"INFO: Building all packages for ${ARCH} took $(ms_to_human_readable $(( $(date +%10s%3N) - start_building_arch )))"| tee -a "${GITHUB_STEP_SUMMARY}"
0 commit comments