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 51f0274 commit c69fb54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/test_matrix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ runs:
echo "DEBUG: Working Directories: ${working_dirs[@]}"
echo "DEBUG: Image Names: ${image_names[@]}"
# Set matrix outputs
echo "matrix=${components[@]}::paths=${paths[@]}::docker_file=${docker_files[@]}::working_dir=${working_dirs[@]}::image_name=${image_names[@]}" >> $GITHUB_ENV
# Set matrix outputs as JSON
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
8 changes: 4 additions & 4 deletions .github/workflows/test_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
steps:
- name: Use matrix
run: |
echo "Component: ${{ matrix }}"
echo "Component: ${{ matrix.components }}"
echo "Paths: ${{ matrix.paths }}"
echo "Dockerfile: ${{ matrix.docker_file }}"
echo "Working Directory: ${{ matrix.working_dir }}"
echo "Image Name: ${{ matrix.image_name }}"
echo "Dockerfile: ${{ matrix.docker_files }}"
echo "Working Directory: ${{ matrix.working_dirs }}"
echo "Image Name: ${{ matrix.image_names }}"

0 comments on commit c69fb54

Please sign in to comment.