Skip to content

Commit fec75f4

Browse files
authored
Update main.yml (#201)
1 parent 93a7532 commit fec75f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ jobs:
3636
# Group the output by platform.
3737
set -x
3838
CHECK_RUNS=$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/check-runs" --paginate)
39-
echo "Check Runs: $CHECK_RUNS"
4039
4140
FILTERED=$(echo "$CHECK_RUNS" | jq -r '.check_runs[] | select(.name | endswith("-env")) | { "config": .name, "build_path": .output.text }')
42-
echo "Filtered: $FILTERED"
4341
4442
GROUPS=$(echo "$FILTERED" | jq --slurp -c -r '. as $jobs | map(.config | split(".") | first) | unique | map(. as $group | {"platform": $group, "jobs": $jobs | map(select(.config |startswith($group)))})')
43+
4544
if jq -e . <<< "$GROUPS" > /dev/null 2>&1; then # JSON validation
4645
echo "Valid JSON"
4746
else

0 commit comments

Comments
 (0)