2024-08-15 12:06:21 +00:00
|
|
|
name: DebugInfo
|
|
|
|
description: Prints workflow debug info
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
2024-09-13 15:27:31 +00:00
|
|
|
- name: Envs, event.json and contexts
|
2024-08-15 12:06:21 +00:00
|
|
|
shell: bash
|
|
|
|
run: |
|
2024-09-13 15:27:31 +00:00
|
|
|
echo '::group::Environment variables'
|
2024-09-13 15:17:10 +00:00
|
|
|
env | sort
|
2024-09-13 15:27:31 +00:00
|
|
|
echo '::endgroup::'
|
|
|
|
|
|
|
|
echo '::group::event.json'
|
2024-08-15 12:06:21 +00:00
|
|
|
python3 -m json.tool "$GITHUB_EVENT_PATH"
|
2024-09-13 15:27:31 +00:00
|
|
|
echo '::endgroup::'
|
|
|
|
|
2024-09-13 15:17:10 +00:00
|
|
|
cat << 'EOF'
|
2024-09-13 15:27:31 +00:00
|
|
|
::group::github context
|
2024-09-13 15:17:10 +00:00
|
|
|
${{ toJSON(github) }}
|
|
|
|
::endgroup::
|
|
|
|
|
2024-09-13 15:27:31 +00:00
|
|
|
::group::env context
|
|
|
|
${{ toJSON(env) }}
|
2024-09-13 15:17:10 +00:00
|
|
|
::endgroup::
|
|
|
|
|
2024-09-13 15:27:31 +00:00
|
|
|
::group::runner context
|
|
|
|
${{ toJSON(runner) }}
|
2024-09-13 15:17:10 +00:00
|
|
|
::endgroup::
|
|
|
|
|
2024-09-13 15:27:31 +00:00
|
|
|
::group::job context
|
2024-09-13 15:17:10 +00:00
|
|
|
${{ toJSON(job) }}
|
|
|
|
::endgroup::
|
|
|
|
EOF
|