Skip to content

Commit f9feb05

Browse files
authored
Update main.yml
1 parent b0db2a5 commit f9feb05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
RUNS=$(gh api "repos/$GITHUB_REPOSITORY/commits/main/check-runs" --paginate)
3636
echo "checks..."
3737
FILTERED=$(jq -c -r '.check_runs[] | select(.name | endswith("-env")) | { "config": .name, "build_path": .output.text }' <<< "$RUNS")
38+
jq . <<< "$FILTERED"
3839
MATRIX=$(jq --slurp -c -r '. as $jobs | map(.config | split(".") | first) | unique | map(. as $group | {"platform": $group, "jobs": $jobs | map(select(.config |startswith($group)))})' <<< "$FILTERED")
40+
jq . <<< "$MATRIX"
3941
echo "creating result matrix."
4042
echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
4143

0 commit comments

Comments
 (0)