Skip to content

Commit c578606

Browse files
committed
debug for platform install
1 parent 6d7b3fe commit c578606

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ Samples for using `arduino-test-compile.sh script` instead of `ArminJo/arduino-t
401401
- Added parameter `sketch-names-find-start` to compile multiple libraries.
402402
- Added parameter `platform-default-url` to ease compiling for multiple boards of the same architecture.
403403
- Suppress warnings for install python and pip for ESP32.
404+
- Added debug parameters
404405

405406
### Version v2.3.0
406407
- Support for custom libraries.

action.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
description: 'Version of arduino-cli to use when builing. Current (3/2020) one is 0.9.0.'
77
default: 'latest'
88
required: false
9-
9+
1010
sketch-names:
1111
description: 'Comma sepatated list of patterns or filenames (without path) of the sketch(es) to test compile. Useful if the sketch is a *.cpp or *.c file or only one sketch in the repository should be compiled.'
1212
default: '*.ino'
@@ -22,17 +22,17 @@ inputs:
2222
description: 'Fully Qualified Board Name of the Arduino board. You may add a suffix behind the fqbn with "|" to specify one board for e.g. different compile options like arduino:avr:uno|trace.'
2323
default: 'arduino:avr:uno'
2424
required: false
25-
25+
2626
arduino-platform:
2727
description: 'The platform specifier, if you require a fixed version like arduino:[email protected] or do not want the specifier derived from the 2 first elements of the arduino-board-fqbn'
2828
default: ''
2929
required: false
30-
30+
3131
platform-default-url:
3232
description: 'The platform URL for the required board description if arduino-board-fqbn does not start with "arduino:" and not explicitly specified by platform-url.'
3333
default: ''
3434
required: false
35-
35+
3636
platform-url:
3737
description: 'The platform URL for the required board description if arduino-board-fqbn does not start with "arduino:".'
3838
default: ''
@@ -55,8 +55,13 @@ inputs:
5555
default: ''
5656
required: false
5757

58-
debug:
59-
description: 'If set to "true" she action logs verbose compile output even during successful builds'
58+
debug-compile:
59+
description: 'If set to "true" the action logs verbose compile output even during successful builds'
60+
default: ''
61+
required: false
62+
63+
debug-install:
64+
description: 'If set to "true" the action logs verbose arduino-cli output during installation'
6065
default: ''
6166
required: false
6267

@@ -74,8 +79,9 @@ runs:
7479
- ${{ inputs.required-libraries }}
7580
- ${{ inputs.examples-exclude }}
7681
- ${{ inputs.examples-build-properties }}
77-
- ${{ inputs.debug }}
78-
82+
- ${{ inputs.debug-compile }}
83+
- ${{ inputs.debug-install }}
84+
7985
branding:
8086
icon: 'eye'
8187
color: 'red'

0 commit comments

Comments
 (0)