GHA: log workflow_dispatch inputs in job

This commit is contained in:
Jeremy Drake 2022-09-06 12:10:45 -07:00 committed by Christoph Reiter
parent f581199930
commit c03c642719
2 changed files with 14 additions and 0 deletions

View File

@ -26,6 +26,13 @@ jobs:
steps:
- name: Dump inputs
if: ${{ github.event_name == 'workflow_dispatch' }}
env:
CONTEXT: '${{ toJSON(github.event.inputs) }}'
run: |
echo "$CONTEXT"
- uses: actions/checkout@v3
- uses: actions/setup-python@v4

View File

@ -26,6 +26,13 @@ jobs:
steps:
- name: Dump inputs
if: ${{ github.event_name == 'workflow_dispatch' }}
env:
CONTEXT: '${{ toJSON(github.event.inputs) }}'
run: |
echo "$CONTEXT"
- uses: actions/checkout@v3
- uses: actions/setup-python@v4