Skip to content

chore: map env

chore: map env #56

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}
- name: Env
run: echo '${{ toJson(env) }}' | jq
- name: Foo
run: echo ${{ format('-e {0}', env) }}
- name: Alpine
id: alpine
uses: docker://alpine:latest
with:
args: echo alpine
#- 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"