Visualising Contexts Workflow #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Visualising Contexts Workflow | ||
on: | ||
workflow_dispatch: | ||
env: | ||
TEST_ENV_W: "just a test in workflow" | ||
jobs: | ||
show-contexts: | ||
runs-on: ubuntu-latest | ||
env: | ||
TEST_ENV_J: "just a test in job" | ||
steps: | ||
- id: showing-workflow-context | ||
name: Showing Workflow Context | ||
run: | | ||
echo ${{ github }} | ||
- id: showing-job-context | ||
name: Showing Job Context | ||
run: | | ||
echo ${{ job }} | ||
- id: showing-jobs-context | ||
name: Showing Jobs Context | ||
run: | | ||
Check failure on line 26 in .github/workflows/contexts.yml GitHub Actions / Visualising Contexts WorkflowInvalid workflow file
|
||
echo ${{ jobs }} | ||
- id: showing-steps-context | ||
name: Showing Steps Context | ||
run: | | ||
echo ${{ steps }} | ||
- id: showing-runner-context | ||
name: Showing Runner Context | ||
run: | | ||
echo ${{ runner }} | ||
- id: showing-env-context | ||
name: Showing Env Context | ||
run: | | ||
echo ${{ env }} | ||
- id: showing-var-context | ||
name: Showing Var Context | ||
run: | | ||
echo ${{ var }} |