Skip to content

Commit

Permalink
chore: more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-chris committed Dec 28, 2023
1 parent c3533bd commit 71464ef
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/actions/test_matrix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 71464ef

Please sign in to comment.