File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ env :
8+ GLOBAL_ENV_VAR : learning thoughts global
9+ ORG_NAME : xyz limited
710
811jobs :
912 context-job :
1013 runs-on : ubuntu-latest
14+ env :
15+ JOB_ENV_VAR : learning thoughts job
16+ ORG_NAME : abc limited
1117 steps :
12- - run : " echo Repo: ${{ github.repository }} by ${{ github.actor }}"
13- - name : Show complete github context
14- run : echo '${{ toJson(github) }}'
15- - name : Show complete env context
16- run : echo '${{ toJson(env) }}'
17- - name : Show complete runner context
18- run : echo '${{ toJson(runner) }}'
18+ - name : steps example
19+ env :
20+ STEP_VAR : learning thoughts step
21+
22+ run : echo '${{ env.GLOBAL_ENV_VAR }} ${{ env.JOB_ENV_VAR }} ${{ env.STEP_VAR }}'
23+ - name : same environment
24+ env :
25+ ORG_NAME : 123 limited
26+ run : echo '${{ env.ORG_NAME }}'
27+
1928
You can’t perform that action at this time.
0 commit comments