You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Run arduino-builder
v1.0.0
Github Action to run arduino-builder for sketches and see if they compile.
Used Arduino IDE version is 1.8.3
.
action "Build examples" {
uses = "Legion2/arduino-builder-action@master"
env = {
BOARD_NAME = "arduino:avr:leonardo"
}
}
Specified arguments override any default arguments passed to arduino-builder, with the exception of the sketch parameter. The default arguments set all mandatory parameters. Use the Environment variables to change some of the parameters.
SKETCH_DIRECTORY_PATH
(optional) : Directory in which to search for sketches (default:examples/
)BOARD_NAME
(optional) : Fully Qualified Board Name (default:arduino:avr:uno
)LIBRARIES_PATH
(optional) : Folder containing Arduino libraries. Use this folder to install required 3rd-party libraries. Libraries SHOULD be installed by a parent action e.g. Download GitHub Release (default:libraries/
)
The Dockerfile and associated scripts and documentation in this project are released under the Apache-2.0 License.