GHA: log workflow_dispatch inputs in job
This commit is contained in:
parent
f581199930
commit
c03c642719
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -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
|
||||
|
||||
7
.github/workflows/maint.yml
vendored
7
.github/workflows/maint.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user