-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
106 lines (81 loc) · 2.75 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
name: GHuPrintGen
description: Creates a microprint of the logs of a job inside a GitHub workflow
runs:
using: docker
image: 'Dockerfile'
branding:
icon: file-text
color: green
inputs:
# ====================================================================================
# Github inputs
repository:
description: Repository name with owner. For example, actions/checkout
default: ${{ github.repository }}
required: false
github_token:
required: false
default: ${{ github.token }}
description: A GitHub personal access token with repo scope to the project
job_name:
required: false
default: ${{ github.job }}
description: name of the job whose logs will be transformed to microprint
ref:
required: false
default: ${{ github.ref }}
description: Reference to target branch.
# ====================================================================================
# Log inputs
log_filename:
required: false
default: logs
description: Log filename (without extension)
log_path:
required: false
default: ./
description: Path where the log will be saved
save_log:
required: false
type: boolean
default: true
description: Whether or not to save the log file
# ====================================================================================
# Microprint inputs
microprint_filename:
required: false
default: microprint
description: Microprint filename (without extension)
microprint_path:
required: false
default: ./
description: Path where the microprint will be saved
microprint_config_filename:
required: false
default: config
description: Microprint config file name (without extension, has to be .json)
microprint_config_path:
required: false
default: ./
description: Microprint config path
# ====================================================================================
# Microprint visualizer link inputs
generate_microprint_visualizer_link:
required: false
type: boolean
default: true
description: Whether or not to generate a link to a microprint visualizer
microprint_visualizer_link_filename:
required: false
default: microprint_visualizer
description: Microprint visualizer link filename (without extension)
microprint_visualizer_link_path:
required: false
default: ./
description: Path where the microprint visualizer link will be saved
# ====================================================================================
# Matrix inputs
matrix:
required: false
default: ${{matrix && toJSON(matrix)}}
description: Gets the matrix values. Only change if you want to hardcode the matrix values. NOT RECOMMENDED.