Skip to content

Commit 21aaab7

Browse files
committed
Output array as json
1 parent 5ec711c commit 21aaab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
if: always()
151151
run: |
152152
set -x
153-
echo "test_targets=$(ls test_logs/*log.txt)" >> $GITHUB_OUTPUT
153+
echo "test_targets=$(ls test_logs/*log.txt | jq -R . | jq -s .)" >> $GITHUB_OUTPUT
154154
shell: bash
155155
outputs:
156156
test_targets: ${{ steps.set-output.outputs.test_targets }}

0 commit comments

Comments
 (0)