44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: GHA Testing
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
branches:
|
|
- develop
|
|
paths-ignore:
|
|
- 'README.md'
|
|
|
|
jobs:
|
|
gha-testing:
|
|
steps:
|
|
- name: Print environment variables
|
|
run: |
|
|
echo "The owner and repository name. $GITHUB_REPOSITORY"
|
|
echo "The commit SHA that triggered the workflow. $GITHUB_SHA"
|
|
echo "The branch or tag ref that triggered the workflow. $GITHUB_REF"
|
|
echo "The name of the workflow. $GITHUB_WORKFLOW"
|
|
echo "The name of the person or app that initiated the workflow. $GITHUB_ACTOR"
|
|
echo "The GitHub workspace directory path. $GITHUB_WORKSPACE"
|
|
- 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(
|