Skip to content

Visualising Contexts Workflow #3

Visualising Contexts Workflow

Visualising Contexts Workflow #3

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Visualising Contexts Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/contexts.yml (Line: 26, Col: 14): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs .github/workflows/contexts.yml (Line: 42, Col: 14): Unrecognized named-value: 'var'. Located at position 1 within expression: var
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 }}