diff --git a/.github/actions/test_matrix/action.yaml b/.github/actions/test_matrix/action.yaml index eac771b67d..bd3de4e2c9 100644 --- a/.github/actions/test_matrix/action.yaml +++ b/.github/actions/test_matrix/action.yaml @@ -83,7 +83,7 @@ runs: # Set matrix outputs as JSON # Set matrix outputs as JSON - echo "::set-output name=matrix::$(echo "{\"matrix\": {\"components\":${components[@]},\"paths\":${paths[@]},\"docker_files\":${docker_files[@]},\"working_dirs\":${working_dirs[@]},\"image_names\":${image_names[@]}}}" | tr -d '\n' | tr -d ' ')" + echo "::set-output name=matrix::$(echo "{\"components\":${components[@]},\"paths\":${paths[@]},\"docker_files\":${docker_files[@]},\"working_dirs\":${working_dirs[@]},\"image_names\":${image_names[@]}}" | jq -c)" shell: bash