Update actions
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 54s
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 54s
This commit is contained in:
@@ -1,39 +1,34 @@
|
|||||||
name: Context testing
|
name: Show context properties
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dump_contexts_to_log:
|
dump_contexts_to_log:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
|
||||||
- name: Dump Gitea context
|
|
||||||
env:
|
env:
|
||||||
GITEA_CONTEXT: ${{ toJson(gitea) }}
|
GITEA_CONTEXT: ${{ toJson(gitea) }}
|
||||||
|
JOB_CONTEXT: ${{ toJson(job) }}
|
||||||
|
STEPS_CONTEXT: ${{ toJson(steps) }}
|
||||||
|
RUNNER_CONTEXT: ${{ toJson(runner) }}
|
||||||
|
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
|
||||||
|
MATRIX_CONTEXT: ${{ toJson(matrix) }}
|
||||||
|
steps:
|
||||||
|
- name: Dump Gitea context
|
||||||
run: echo "$GITEA_CONTEXT"
|
run: echo "$GITEA_CONTEXT"
|
||||||
|
|
||||||
- name: Dump job context
|
- name: Dump job context
|
||||||
env:
|
|
||||||
JOB_CONTEXT: ${{ toJson(job) }}
|
|
||||||
run: echo "$JOB_CONTEXT"
|
run: echo "$JOB_CONTEXT"
|
||||||
|
|
||||||
- name: Dump steps context
|
- name: Dump steps context
|
||||||
env:
|
|
||||||
STEPS_CONTEXT: ${{ toJson(steps) }}
|
|
||||||
run: echo "$STEPS_CONTEXT"
|
run: echo "$STEPS_CONTEXT"
|
||||||
|
|
||||||
- name: Dump runner context
|
- name: Dump runner context
|
||||||
env:
|
|
||||||
RUNNER_CONTEXT: ${{ toJson(runner) }}
|
|
||||||
run: echo "$RUNNER_CONTEXT"
|
run: echo "$RUNNER_CONTEXT"
|
||||||
|
|
||||||
- name: Dump strategy context
|
- name: Dump strategy context
|
||||||
env:
|
|
||||||
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
|
|
||||||
run: echo "$STRATEGY_CONTEXT"
|
run: echo "$STRATEGY_CONTEXT"
|
||||||
|
|
||||||
- name: Dump matrix context
|
- name: Dump matrix context
|
||||||
env:
|
|
||||||
MATRIX_CONTEXT: ${{ toJson(matrix) }}
|
|
||||||
run: echo "$MATRIX_CONTEXT"
|
run: echo "$MATRIX_CONTEXT"
|
||||||
|
|||||||
Reference in New Issue
Block a user