generated from PSModule/Template-Action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (31 loc) · 967 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Debug (by PSModule)
description: |
Print info from the runner environment to logs.
author: PSModule
branding:
icon: clipboard
color: gray-dark
runs:
using: composite
steps:
- name: Debug
uses: PSModule/GitHub-Script@v1
env:
CONTEXT_GITHUB: ${{ toJson(github) }}
CONTEXT_ENV: ${{ toJson(env) }}
# CONTEXT_VARS: ${{ toJson(vars) }}
CONTEXT_JOB: ${{ toJson(job) }}
# CONTEXT_JOBS: ${{ toJson(jobs) }}
CONTEXT_STEPS: ${{ toJson(steps) }}
CONTEXT_RUNNER: ${{ toJson(runner) }}
# CONTEXT_SECRETS: ${{ toJson(secrets) }}
CONTEXT_STRATEGY: ${{ toJson(strategy) }}
CONTEXT_MATRIX: ${{ toJson(matrix) }}
# CONTEXT_NEEDS: ${{ toJson(needs) }}
CONTEXT_INPUTS: ${{ toJson(inputs) }}
with:
Debug: true
Verbose: true
Script: |
# Debug environment
. "${{ github.action_path }}\scripts\main.ps1" -Verbose