GitHub Actions Context Dump #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.github.com/en/actions/learn-github-actions/contexts#example-printing-context-information-to-the-log | |
name: GitHub Actions Context Dump | |
on: | |
workflow_call: | |
inputs: | |
config-path: | |
required: true | |
type: string | |
secrets: | |
envPAT: | |
required: true | |
workflow_dispatch: | |
jobs: | |
dump: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump GitHub context | |
id: github_context_step | |
run: echo '${{ toJSON(github) }}' | |
# - name: Dump job context | |
# run: echo '${{ toJSON(job) }}' | |
# - name: Dump steps context | |
# run: echo '${{ toJSON(steps) }}' | |
# - name: Dump runner context | |
# run: echo '${{ toJSON(runner) }}' | |
# - name: Dump strategy context | |
# run: echo '${{ toJSON(strategy) }}' | |
# - name: Dump matrix context | |
# run: echo '${{ toJSON(matrix) }}' |