diff --git a/.github/actions/test_matrix/action.yaml b/.github/actions/test_matrix/action.yaml index 91e4690181..eac771b67d 100644 --- a/.github/actions/test_matrix/action.yaml +++ b/.github/actions/test_matrix/action.yaml @@ -82,12 +82,8 @@ runs: echo "DEBUG: Image Names: ${image_names[@]}" # Set matrix outputs as JSON - echo "::set-output name=matrix::$(jq -n --argjson components "${components[@]}" \ - --argjson paths "${paths[@]}" \ - --argjson docker_files "${docker_files[@]}" \ - --argjson working_dirs "${working_dirs[@]}" \ - --argjson image_names "${image_names[@]}" \ - '{matrix: {components: $components, paths: $paths, docker_files: $docker_files, working_dirs: $working_dirs, image_names: $image_names}}')" + # 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 ' ')" shell: bash