Skip to content

Commit

Permalink
add display contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
daryazata committed Apr 8, 2022
1 parent b31baea commit 5713c11
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/context.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Context testing
on: push

jobs:
dump_contexts_to_log:
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) }}'

0 comments on commit 5713c11

Please sign in to comment.