mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Merge steps together to minimize grouping
This commit is contained in:
parent
418ef3f8bc
commit
b55d0b54ea
32
.github/actions/debug/action.yml
vendored
32
.github/actions/debug/action.yml
vendored
@ -4,35 +4,31 @@ description: Prints workflow debug info
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Print envs
|
- name: Envs, event.json and contexts
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "::group::Envs"
|
echo '::group::Environment variables'
|
||||||
env | sort
|
env | sort
|
||||||
echo "::endgroup::"
|
echo '::endgroup::'
|
||||||
- name: Print Event.json
|
|
||||||
shell: bash
|
echo '::group::event.json'
|
||||||
run: |
|
|
||||||
echo "::group::Event.json"
|
|
||||||
python3 -m json.tool "$GITHUB_EVENT_PATH"
|
python3 -m json.tool "$GITHUB_EVENT_PATH"
|
||||||
echo "::endgroup::"
|
echo '::endgroup::'
|
||||||
- name: Pring contexts
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
cat << 'EOF'
|
cat << 'EOF'
|
||||||
::group::github
|
::group::github context
|
||||||
${{ toJSON(github) }}
|
${{ toJSON(github) }}
|
||||||
::endgroup::
|
::endgroup::
|
||||||
|
|
||||||
::group::runner
|
::group::env context
|
||||||
${{ toJSON(runner) }}
|
|
||||||
::endgroup::
|
|
||||||
|
|
||||||
::group::env
|
|
||||||
${{ toJSON(env) }}
|
${{ toJSON(env) }}
|
||||||
::endgroup::
|
::endgroup::
|
||||||
|
|
||||||
::group::job
|
::group::runner context
|
||||||
|
${{ toJSON(runner) }}
|
||||||
|
::endgroup::
|
||||||
|
|
||||||
|
::group::job context
|
||||||
${{ toJSON(job) }}
|
${{ toJSON(job) }}
|
||||||
::endgroup::
|
::endgroup::
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user