Closed rrotter closed 1 year ago
Couple of questions:
/kmk
changed since the last build, not the prev commit (since a push could contain any number of commits). I'm not sure if you're concerned about wasting CPU or storage space but:
Latest force push cleans up the naming of the Action, the naming of the zip (uses short sha and not the full sha), and caches mpy-cross as mentioned above.
- That would be tricky. The action only has the current commit checked out, no view into the history.
It's not so complicated, just use https://github.com/tj-actions/changed-files
This is a fairly trivial GH Action that automatically runs
make compile
and uploads the zip (for an example of what this looks like, see Artifacts here). As configured this will only run on merge/push to the master branch. Only supports CircuitPython 8, would be easy to add other versions if need be.This was requested in #270.