Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,8 @@ jobs:
echo "Waiting for lint and test-unit jobs to complete..."
for i in $(seq 1 60); do
jobs_json=$(gh api "repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs?per_page=100" \
--jq '[.jobs[] | select(.name == "Lint" or .name == "Unit Tests") | {name: .name, status: .status, conclusion: .conclusion}]')
--jq '[.jobs[] | select(.name == "Lint" or .name == "Unit Tests") | {name: .name, status: .status, conclusion: .conclusion}]') || { echo "API call failed, retrying..."; sleep 5; continue; }
echo "$jobs_json" | jq empty 2>/dev/null || { echo "Malformed JSON from API, retrying..."; sleep 5; continue; }

all_done=true
any_failed=false
Expand Down
Loading