We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae9c40 commit ed1c6a2Copy full SHA for ed1c6a2
.github/workflows/main.yml
@@ -35,9 +35,7 @@ jobs:
35
id: set-matrix
36
run: |
37
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 }' | \
+ --jq '.check_runs[] | select(.name | startswith("ci/hydra-build")) | select(.name | endswith("-env")) | { "config": (.name | sub("ci/hydra-build:"; "")), "build_path": .output.text }' | \
41
jq --slurp 'reduce .[] as $item ({}; . + $item)' | jq --slurp '{"matrix": .}')
42
echo "matrix=$BUILDS" >> $GITHUB_OUTPUT
43
0 commit comments