Add .gitea/workflows/actions2.yaml
This commit is contained in:
parent
ff86c601cd
commit
93aa6c19e5
31
.gitea/workflows/actions2.yaml
Normal file
31
.gitea/workflows/actions2.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: Context testing
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dump_contexts_to_log:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Dump GitHub context
|
||||||
|
env:
|
||||||
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
|
run: echo '$GITHUB_CONTEXT'
|
||||||
|
- name: Dump job context
|
||||||
|
env:
|
||||||
|
JOB_CONTEXT: ${{ toJson(job) }}
|
||||||
|
run: echo '$JOB_CONTEXT'
|
||||||
|
- name: Dump steps context
|
||||||
|
env:
|
||||||
|
STEPS_CONTEXT: ${{ toJson(steps) }}
|
||||||
|
run: echo '$STEPS_CONTEXT'
|
||||||
|
- name: Dump runner context
|
||||||
|
env:
|
||||||
|
RUNNER_CONTEXT: ${{ toJson(runner) }}
|
||||||
|
run: echo '$RUNNER_CONTEXT'
|
||||||
|
- name: Dump strategy context
|
||||||
|
env:
|
||||||
|
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
|
||||||
|
run: echo '$STRATEGY_CONTEXT'
|
||||||
|
- name: Dump matrix context
|
||||||
|
env:
|
||||||
|
MATRIX_CONTEXT: ${{ toJson(matrix) }}
|
||||||
|
run: echo '$MATRIX_CONTEXT'
|
||||||
Loading…
Reference in New Issue
Block a user