Skip to content

Commit ed1c6a2

Browse files
authored
Update main.yml (#188)
1 parent 2ae9c40 commit ed1c6a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
3535
id: set-matrix
3636
run: |
3737
BUILDS=$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/check-runs" --paginate \
38-
--jq '.check_runs[] | \
39-
select(.name | startswith("ci/hydra-build")) | select(.name | endswith("-env")) | \
40-
{ "config": (.name | sub("ci/hydra-build:"; "")), "build_path": .output.text }' | \
38+
--jq '.check_runs[] | select(.name | startswith("ci/hydra-build")) | select(.name | endswith("-env")) | { "config": (.name | sub("ci/hydra-build:"; "")), "build_path": .output.text }' | \
4139
jq --slurp 'reduce .[] as $item ({}; . + $item)' | jq --slurp '{"matrix": .}')
4240
echo "matrix=$BUILDS" >> $GITHUB_OUTPUT
4341

0 commit comments

Comments
 (0)