adafruit / ci-arduino

A script that will install all of the common dependencies for testing Arduino library builds using Github Actions
MIT License
115 stars 73 forks source link

Preserve temporary files after compilation #49

Closed platisd closed 5 years ago

platisd commented 5 years ago

Preserve the temporary files (e.g. '.hex') so they can be found at a deterministic location and be deployed if there's a need to. This can be particularly useful in cases where the user needs to release the compiled binaries or push them to a deployment pipeline. The patch introduces a new variable, i.e. $ARDUINO_HEX_DIR, that exposes in a deterministic manner the directory in which the temporary files are located. Further details on how to use this variable can be found in the updated README.md.