-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yaml
88 lines (87 loc) · 2.68 KB
/
action.yaml
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
name: "Interactive Pinout Generator"
description: "Generates interactive pinouts from mappings"
author: "[email protected]"
inputs:
mapping-path:
required: true
description: |
Location of mapping file
You can use globs to match multiple files, for example:
./boards/*/connectors/*.yaml
warnings:
required: false
description: |
Set to "skip" to skip to the next mapping file,
"notice" to warn on the Actions page,
or "error" to fail the workflow step.
default: "false"
warning-no-cid:
required: false
description: |
Set to "skip" to skip to the next mapping file,
"notice" to warn on the Actions page,
or "error" to fail the workflow step.
default: "unset"
warning-no-image:
required: false
description: |
Set to "skip" to skip to the next mapping file,
"notice" to warn on the Actions page,
or "error" to fail the workflow step.
default: "unset"
warning-no-connectors:
required: false
description: |
Set to "skip" to skip to the next mapping file,
"notice" to warn on the Actions page,
or "error" to fail the workflow step.
default: "unset"
warning-dupe:
required: false
description: |
Set to "skip" to skip to the next mapping file,
"notice" to warn on the Actions page,
or "error" to fail the workflow step.
default: "unset"
columns:
required: true
description: |
A JSON mapping of column IDs to human-readable names.
"pin" column is assumed to be pin numbers
"type" column can be used to group pins by type.
print-columns:
required: true
description: |
A JSON array of column IDs that will be visible in print mode. Provide at least one.
The "pin" column is always visible.
info-column:
required: false
description: |
A column whose value will be displayed when hovering over a pin.
colors:
required: false
description: |
A JSON mapping of pin "type" fields to CSS colors.
debug:
required: false
description: |
Don't minify, and add some logging to the JS
default: "false"
runs:
using: "docker"
image: "Dockerfile"
env:
MAPPING_PATH: ${{ inputs.mapping-path }}
WARNINGS: ${{ inputs.warnings }}
WARNING_NO_CID: ${{ inputs.warning-no-cid }}
WARNING_NO_IMAGE: ${{ inputs.warning-no-image }}
WARNING_NO_CONNECTORS: ${{ inputs.warning-no-connectors }}
WARNING_DUPE: ${{ inputs.warning-dupe }}
COLS: ${{ inputs.columns }}
PRINT_COLS: ${{ inputs.print-columns }}
INFO_COL: ${{ inputs.info-column }}
COLORS: ${{ inputs.colors }}
DEBUG: ${{ inputs.debug }}
branding:
icon: "cpu"
color: "orange"