This action makes the arduino-cli
tool available to Workflows.
To get the latest stable version of arduino-cli
just add this step:
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1.0.0
If you want to pin a major or minor version you can use the .x
wildcard:
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1.0.0
with:
version: "0.x"
To pin the exact version:
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1.0.0
with:
version: "0.5.0"
To work on the codebase you have to install all the dependencies:
# npm install
To run the tests:
# npm run test
npm install
to add all the dependencies, included development.npm run build
to build the Action under the./lib
folder.npm run test
to see everything works as expected.npm run pack
to package for distributiongit add src dist
to check in the code that matters.- open a PR and request a review.