Skip to content

Commit 9e09c60

Browse files
refactor(ci): simplify jq command for gather_workspace_crates
With best regards from ChatGPT. Pull-Request: #3783.
1 parent aef481a commit 9e09c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ jobs:
239239

240240
- id: cargo-metadata
241241
run: |
242-
WORKSPACE_MEMBERS=$(cargo metadata --format-version=1 --no-deps | jq -c '.packages | .[] | select(.publish == null) | .name' | jq -s '.' | jq -c '.')
242+
WORKSPACE_MEMBERS=$(cargo metadata --format-version=1 --no-deps | jq -c '.packages | map(select(.publish == null) | .name)')
243243
echo "members=${WORKSPACE_MEMBERS}" >> $GITHUB_OUTPUT
244244
245245
check-proto-files:

0 commit comments

Comments
 (0)