Skip to content

06 - Contexts

06 - Contexts #3

Workflow file for this run

name: 06 - Contexts
on:
push:
workflow_dispatch:
jobs:
echo-data:
runs-on: ubuntu-latest
steps:
- name: Display information
run: |
echo "Event Name: ${{ github.event_name }}"
echo "Ref: ${{ github.ref }}"
echo "SHA: ${{ github.sha }}"
echo "Actor: ${{ github.actor }}"
echo "Workflow: ${{ github.workflow }}"
echo "Run ID: ${{ github.run_id }}"
echo "Run number: ${{ github.run_number }}"
- name: Retrieve Variable
run: |
echo "Variable value: ${{ vars.MY_VAR }}"