mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-30 16:31:57 +00:00
refactor(ci): simplify jq command for gather_workspace_crates
With best regards from ChatGPT. Pull-Request: #3783.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -239,7 +239,7 @@ jobs:
|
||||
|
||||
- id: cargo-metadata
|
||||
run: |
|
||||
WORKSPACE_MEMBERS=$(cargo metadata --format-version=1 --no-deps | jq -c '.packages | .[] | select(.publish == null) | .name' | jq -s '.' | jq -c '.')
|
||||
WORKSPACE_MEMBERS=$(cargo metadata --format-version=1 --no-deps | jq -c '.packages | map(select(.publish == null) | .name)')
|
||||
echo "members=${WORKSPACE_MEMBERS}" >> $GITHUB_OUTPUT
|
||||
|
||||
check-proto-files:
|
||||
|
Reference in New Issue
Block a user