GitHub Actions action that checks whether Arduino sketches compile and produces a report of data from the compilations
Installation of the pySerial Python package boards platform dependency in the workflow via commands of the following format is no longer supported:
pip install pyserial
or:
pip3 install pyserial
If a boards platform used in your workflow has an external dependency on a Python package, it must now be installed using the command format documented here:
pip install --ignore-installed --user pyserial
In order to allow a transition period for existing workflows, pySerial is preinstalled in the action environment, but it will be removed from the environment in an upcoming release.
set-output
commands (https://github.com/arduino/compile-sketches/pull/91)https://github.com/arduino/compile-sketches/compare/v1.0.1...v1.1.0
arduino/actions/libraries/compile-examples
action usersWith the move to this dedicated repository from its provisional home in the experimental repository, the action name has changed. This requires a change to workflows using the action.
Change:
uses: arduino/actions/libraries/compile-examples@master
to:
uses: arduino/compile-examples@v1
(https://github.com/arduino/compile-sketches/pull/7) The default value of the sketches-report-path
input was changed from "size-deltas-reports" to "sketches-reports". If your workflow is relying on this default value it will be necessary to update the name
input of the step that uses the actions/upload-artifact
action to upload the sketches report to a workflow artifact.
Change:
- uses: actions/upload-artifact@v2
with:
path: size-delta-reports
to:
- uses: actions/upload-artifact@v2
with:
path: sketches-reports