File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -333,9 +333,9 @@ jobs:
333333
334334 echo "Proceeding with GitLab pipeline trigger..."
335335
336- # Escape double quotes so JSON arrays survive the GitLab API payload
337- test_types=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_types }}" | sed 's/"/\\" /g')
338- test_chips=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_targets }}" | sed 's/"/\\" /g')
336+ # Make targets/types comma-separated strings (remove brackets and quotes)
337+ test_types=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_types }}" | sed -e 's/[][]//g' -e 's/"/ /g')
338+ test_chips=$(printf '%s' "${{ needs.get-artifacts.outputs.hw_targets }}" | sed -e 's/[][]//g' -e 's/"/ /g')
339339 echo "test_types=$test_types"
340340 echo "test_chips=$test_chips"
341341
You can’t perform that action at this time.
0 commit comments