Skip to content

Instantly share code, notes, and snippets.

@ethomson
Created December 13, 2019 00:23
Show Gist options
  • Save ethomson/fd59328c86a28792a13c553784ce54fb to your computer and use it in GitHub Desktop.
Save ethomson/fd59328c86a28792a13c553784ce54fb to your computer and use it in GitHub Desktop.
name: Inspect Contexts
on: [push]
jobs:
build:
name: Inspect contexts
runs-on: ubuntu-latest
steps:
- name: Inspect contexts
run: |
echo "The github context is:"
echo "${{ toJson(github) }}"
echo ""
echo "The job context is:"
echo "${{ toJson(job) }}"
echo ""
echo "The steps context is:"
echo "${{ toJson(steps) }}"
echo ""
echo "The runner context is:"
echo "${{ toJson(runner) }}"
echo ""
echo "The strategy context is:"
echo "${{ toJson(strategy) }}"
echo ""
echo "The matrix context is:"
echo "${{ toJson(matrix) }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment