Skip to content

Commit 8dd052f

Browse files
committed
Make action.yml compliant with JSON schema
These changes seem a bit silly, but they are indeed required by the official specification (even though even GitHub doesn't bother to specify the `inputs.<input_id>.required` value for inputs with an `inputs.<input_id>.default` key in their official workflows).
1 parent 0f16fc9 commit 8dd052f

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

action.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,43 @@ inputs:
44
cli-version:
55
description: 'Version of Arduino CLI to use when building'
66
default: 'latest'
7+
required: true
78
fqbn:
89
description: 'Full qualified board name, with Boards Manager URL if needed'
910
default: 'arduino:avr:uno'
11+
required: true
1012
libraries:
1113
description: 'YAML-format list of library dependencies to install'
1214
default: '- source-path: ./'
15+
required: true
1316
platforms:
1417
description: 'YAML-format list of platform dependencies to install'
1518
default: ''
19+
required: true
1620
sketch-paths:
1721
description: 'YAML-format list of paths containing sketches to compile.'
1822
default: '- examples'
23+
required: true
1924
verbose:
2025
description: 'Set to true to show verbose output in the log'
21-
default: false
26+
default: 'false'
27+
required: true
2228
sketches-report-path:
2329
description: 'Path in which to save a JSON formatted file containing data from the sketch compilations'
2430
default: 'sketches-reports'
31+
required: true
2532
github-token:
2633
description: 'GitHub access token used to get information from the GitHub API. Only needed if you are using the deltas report feature in a private repository.'
2734
default: ''
35+
required: true
2836
enable-deltas-report:
2937
description: 'Set to true to cause the action to determine the change in memory usage and compiler warnings of the compiled sketches between the head and base refs of a PR and the immediate parent commit of a push'
30-
default: false
38+
default: 'false'
39+
required: true
3140
enable-warnings-report:
3241
description: 'Set to true to cause the action to record the compiler warning count for each sketch compilation in the sketches report'
33-
default: false
42+
default: 'false'
43+
required: true
3444

3545
runs:
3646
using: 'docker'

0 commit comments

Comments
 (0)