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 5492bee commit c3533bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/test_matrix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ runs:
echo "DEBUG: 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[@]/#/\"}}}" | jq -c)"
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}}')"
shell: bash

0 comments on commit c3533bd

Please sign in to comment.