Skip to content

[DEBUG] Dump

[DEBUG] Dump #415

Workflow file for this run

name: "[DEBUG] Dump"
on:
check_run:
create:
delete:
discussion:
discussion_comment:
fork:
issues:
issue_comment:
milestone:
pull_request:
pull_request_review_comment:
pull_request_review:
push:
release:
workflow_dispatch:
jobs:
dump:
name: "[DEBUG] Echo Full Context"
if: ${{ contains(github.event.head_commit.message, 'ci:debug') }}
runs-on: ubuntu-latest
steps:
- name: Dump Env vars
run: |
echo "====== ENVIRONMENT ================="
env | sort
echo "===================================="
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: |
echo "====== GITHUB_CONTEXT =============="
echo "$GITHUB_CONTEXT"
echo "===================================="
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJSON(job) }}
run: |
echo "====== JOB_CONTEXT =============="
echo "$JOB_CONTEXT"
echo "===================================="
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJSON(steps) }}
run: |
echo "====== STEPS_CONTEXT =============="
echo "$STEPS_CONTEXT"
echo "===================================="
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: |
echo "====== RUNNER_CONTEXT =============="
echo "$RUNNER_CONTEXT"
echo "===================================="
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: |
echo "====== STRATEGY_CONTEXT =============="
echo "$STRATEGY_CONTEXT"
echo "===================================="
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: |
echo "====== MATRIX_CONTEXT =============="
echo "$MATRIX_CONTEXT"
echo "===================================="
- name: Dump vars context
env:
VARS_CONTEXT: ${{ toJSON(vars) }}
run: |
echo "====== VARS =============="
echo "$VARS_CONTEXT"
echo "===================================="
- name: Dump env context
env:
ENV_CONTEXT: ${{ toJSON(env) }}
run: |
echo "====== ENV =============="
echo "$ENV_CONTEXT"
echo "===================================="