Skip to content

Commit 24cce18

Browse files
committed
To sort by multiple fields, you need to pass an array of keys
1 parent b81cae9 commit 24cce18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/wireless-performance-autotest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
device_class: .custom_fields.class,
3535
device_ip: .primary_ip.address
3636
}' | \
37-
jq -s 'sort_by(.device_class, .name)' >> $GITHUB_OUTPUT
37+
jq -s 'sort_by([.device_class, .name])' >> $GITHUB_OUTPUT
3838
echo "${delimiter}" >> "${GITHUB_OUTPUT}"
3939
4040
gradle:

0 commit comments

Comments
 (0)