Skip to content

Github Expression and Object COntext #5

Github Expression and Object COntext

Github Expression and Object COntext #5

# refrence: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs
name: Github Expression and Object COntext
on: workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: github expression and object context
run: echo "Running tests"
- name: github expression and object context
run: echo "print git hub object ${{ToJson(github)}}"
- name: print the running jobs & step
run: echo "print the running jobs & step ${{toJson(job)}}"