Skip to content

chore: dump job context #62

chore: dump job context

chore: dump job context #62

Workflow file for this run

name: Check
on:
push:
jobs:
check:
if: ${{ !startsWith(github.event.head_commit.message, 'release:') }}
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
#- name: Playwright
# uses: ./.github/actions/playwright
# with:
# run: |
# echo hello
# echo more lines
#- name: Set Env
# run: |
# echo "FOO=bar" >> ${GITHUB_ENV}
# echo "ASDFASDF=blue" >> ${GITHUB_ENV}
#- name: Env
# run: |
# ENV="$(echo '${{ toJson(env) }}' | jq -r 'keys | map("-e \(.)") | join(" ")')"
# echo "ENV: ${ENV}"
#- name: Foo
# run: echo ${{ format('-e {0}', env) }}
#- name: Alpine
# id: alpine
# uses: docker://alpine:latest
# with:
# args: echo alpine
- name: Dump GitHub env
env:
ENV: ${{ toJson(env) }}
run: |
#https://github.com/actions/runner-images/releases/download/ubuntu24%2F20241103.1/sbom.ubuntu-24.04.json.zip
echo "$ImageOS: $ImageVersion"
echo "$ENV"
set
#- 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"