This repository was archived by the owner on Apr 1, 2022. It is now read-only.
libraries/compile-examples: support YAML-format sketch-paths input value #74
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The other two inputs that accept lists:
libraries
andplatforms
, support the value being a string in YAML format, following the precedent established by GitHub for their workflows.For consistency, it makes sense to also support YAML format for the action's
sketch-paths
input.Demonstration of how the arduino-libraries/ArduinoIoTCloud repository's workflow would look if it used the new format:
https://github.com/per1234/ArduinoIoTCloud/commit/28af61b7efed26115803c565e173713123c221f5#diff-1ab188640fc440a6dba62ef93d03def2
The old Bash array style space-separated list format is still supported and the default behavior of using the
examples
folder remain the same, so this change is backwards compatible.