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 972f1d9 commit 48a6c78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/test_matrix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ runs:
echo "DEBUG: Image Names: ${image_names[@]}"
# Set matrix outputs as JSON
matrix_json="{\"components\":\"${components[@]}\",\"paths\":\"${paths[@]}\",\"docker_files\":\"${docker_files[@]}\",\"working_dirs\":\"${working_dirs[@]}\",\"image_names\":\"${image_names[@]}\"}"
echo "matrix=$(echo "$matrix_json" | jq -c)" >> $GITHUB_OUTPUT
matrix_json="{\"components\":${components[@]},\"paths\":${paths[@]},\"docker_files\":${docker_files[@]},\"working_dirs\":${working_dirs[@]},\"image_names\":${image_names[@]}}"
echo "DEBUG: Raw matrix output: $matrix_json"
echo "::set-output name=matrix::$(echo "$matrix_json" | jq -c)"
shell: bash

0 comments on commit 48a6c78

Please sign in to comment.