Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Apr 22, 2024
1 parent 0a07b6d commit bb9794b
Showing 1 changed file with 28 additions and 11 deletions.
39 changes: 28 additions & 11 deletions .github/workflows/ci-dispatch-group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,22 @@ jobs:
fail-fast: false
matrix:
include: ${{fromJSON(inputs.jobs)['standalone']}}
uses: ./.github/workflows/ci-dispatch-job.yml
with:
dispatch: ${{ matrix.dispatch }}
name: ${{ matrix.name }}
runner: ${{ matrix.runner }}
image: ${{ matrix.image }}
command: ${{ matrix.command }}
runs-on: ubuntu-latest
steps:
- name: Debug
run: |
echo "Standalone job: ${{ matrix.name }}"
echo "Dispatch: ${{ matrix.dispatch }}"
echo "Runner: ${{ matrix.runner }}"
echo "Image: ${{ matrix.image }}"
echo "Command: ${{ matrix.command }}"
# uses: ./.github/workflows/ci-dispatch-job.yml
# with:
# dispatch: ${{ matrix.dispatch }}
# name: ${{ matrix.name }}
# runner: ${{ matrix.runner }}
# image: ${{ matrix.image }}
# command: ${{ matrix.command }}

two-stage-jobs:
if: fromJSON(inputs.jobs)['two_stage']
Expand All @@ -40,7 +49,15 @@ jobs:
fail-fast: false
matrix:
include: ${{fromJSON(inputs.jobs)['two_stage']}}
uses: ./.github/workflows/ci-dispatch-two-stage.yml
with:
producers: ${{ toJSON(matrix.producers) }}
consumers: ${{ toJSON(matrix.consumers) }}
runs-on: ubuntu-latest
steps:
- name: Debug
run: |
echo "producers:""
echo "${{ matrix.producers }}" | jq '.'
echo "consumers:"
echo "${{ matrix.consumers }}" | jq '.'
# uses: ./.github/workflows/ci-dispatch-two-stage.yml
# with:
# producers: ${{ toJSON(matrix.producers) }}
# consumers: ${{ toJSON(matrix.consumers) }}

0 comments on commit bb9794b

Please sign in to comment.