diff --git a/.github/workflows/test_matrix.yml b/.github/workflows/test_matrix.yml index df2a170756..9017d54cb7 100644 --- a/.github/workflows/test_matrix.yml +++ b/.github/workflows/test_matrix.yml @@ -26,10 +26,16 @@ jobs: with: event: ${{ matrix.event }} - - name: Use Matrix in Another Step - run: | - echo "Component: ${{ matrix.component }}" + use-matrix: + needs: set-matrix + runs-on: ubuntu-latest + strategy: + matrix: ${{fromJson(needs.set-matrix.outputs.matrix)}} + steps: + - name: Use matrix + run: | + echo "Component: ${{ matrix }}" echo "Paths: ${{ matrix.paths }}" echo "Dockerfile: ${{ matrix.docker_file }}" echo "Working Directory: ${{ matrix.working_dir }}" - echo "Image Name: ${{ matrix.image_name }}" + echo "Image Name: ${{ matrix.image_name }}" \ No newline at end of file