@@ -123,13 +123,13 @@ jobs:
123123            push_time="" 
124124          fi 
125125
126-           hw_targets=$(jq -r  '.hw_targets | tostring ' artifacts/matrix_info/test_matrix.json | tr -cd "[:alnum:],[]\"") 
127-           hw_types=$(jq -r  '.hw_types | tostring ' artifacts/matrix_info/test_matrix.json | tr -cd "[:alpha:],[]\"") 
128-           wokwi_targets=$(jq -r  '.wokwi_targets | tostring ' artifacts/matrix_info/test_matrix.json | tr -cd "[:alnum:],[]\"") 
129-           wokwi_types=$(jq -r  '.wokwi_types | tostring ' artifacts/matrix_info/test_matrix.json | tr -cd "[:alpha:],[]\"") 
126+           hw_targets=$(jq -c  '.hw_targets' artifacts/matrix_info/test_matrix.json | tr -cd "[:alnum:],[]\"") 
127+           hw_types=$(jq -c  '.hw_types' artifacts/matrix_info/test_matrix.json | tr -cd "[:alpha:],[]\"") 
128+           wokwi_targets=$(jq -c  '.wokwi_targets' artifacts/matrix_info/test_matrix.json | tr -cd "[:alnum:],[]\"") 
129+           wokwi_types=$(jq -c  '.wokwi_types' artifacts/matrix_info/test_matrix.json | tr -cd "[:alpha:],[]\"") 
130130          qemu_tests_enabled=$(jq -r '.qemu_tests_enabled' artifacts/matrix_info/test_matrix.json | tr -cd "[:alpha:]") 
131-           qemu_targets=$(jq -r  '.qemu_targets | tostring ' artifacts/matrix_info/test_matrix.json | tr -cd "[:alnum:],[]\"") 
132-           qemu_types=$(jq -r  '.qemu_types | tostring ' artifacts/matrix_info/test_matrix.json | tr -cd "[:alpha:],[]\"") 
131+           qemu_targets=$(jq -c  '.qemu_targets' artifacts/matrix_info/test_matrix.json | tr -cd "[:alnum:],[]\"") 
132+           qemu_types=$(jq -c  '.qemu_types' artifacts/matrix_info/test_matrix.json | tr -cd "[:alpha:],[]\"") 
133133
134134          echo "base = $base" 
135135          echo "hw_targets = $hw_targets" 
@@ -149,15 +149,15 @@ jobs:
149149          # Create a single JSON file with all workflow run information 
150150          cat > artifacts/workflow_info.json <<EOF 
151151          { 
152-             "hw_tests_enabled": " $hw_tests_enabled" , 
153-             "hw_targets": " $hw_targets" , 
154-             "hw_types": " $hw_types" , 
155-             "wokwi_tests_enabled": " $wokwi_tests_enabled" , 
156-             "wokwi_targets": " $wokwi_targets" , 
157-             "wokwi_types": " $wokwi_types" , 
158-             "qemu_tests_enabled": " $qemu_tests_enabled" , 
159-             "qemu_targets": " $qemu_targets" , 
160-             "qemu_types": " $qemu_types" , 
152+             "hw_tests_enabled": $hw_tests_enabled, 
153+             "hw_targets": $hw_targets, 
154+             "hw_types": $hw_types, 
155+             "wokwi_tests_enabled": $wokwi_tests_enabled, 
156+             "wokwi_targets": $wokwi_targets, 
157+             "wokwi_types": $wokwi_types, 
158+             "qemu_tests_enabled": $qemu_tests_enabled, 
159+             "qemu_targets": $qemu_targets, 
160+             "qemu_types": $qemu_types, 
161161            "ref": "$ref", 
162162            "event": "${{ github.event.workflow_run.event }}", 
163163            "sha": "${{ github.event.workflow_run.head_sha || github.sha }}", 
0 commit comments