Added output workflow to see what context variables are available
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
name: Output Information
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
info:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Output GITHUB Context
|
||||||
|
run: echo "${{toJSON(github)}}"
|
||||||
|
- name: Output GITEA Context
|
||||||
|
run: echo "${{toJSON(gitea)}}"
|
||||||
|
- name: Output JOB Context
|
||||||
|
run: echo "${{toJSON(job)}}"
|
||||||
|
- name: Output JOBS Context
|
||||||
|
run: echo "${{toJSON(jobs)}}"
|
||||||
|
- name: Output STEPS Context
|
||||||
|
run: echo "${{toJSON(steps)}}"
|
||||||
|
- name: Output RUNNER Context
|
||||||
|
run: echo "${{toJSON(runner)}}"
|
||||||
Reference in New Issue
Block a user