I'm new to ZMK and I think that there's a better way to fetch the artifact (firmware) of a GitHub action.
Instead of running zmk download, which only slightly eases the process, I have been running gh run download which fetches the latest artifact.
In more detail, here's my workflow:
- push changes;
- check that CI has finished successfully via
gh run list -L 5;
- ensure that a folder named firmware doesn't exist and run
gh run download;
- flash.
Note that gh run download may take a --repo flag and an id of the action as an argument. This ensures that a deterministic call is achievable.
What do you think?
I'm new to ZMK and I think that there's a better way to fetch the artifact (firmware) of a GitHub action.
Instead of running
zmk download, which only slightly eases the process, I have been runninggh run downloadwhich fetches the latest artifact.In more detail, here's my workflow:
gh run list -L 5;gh run download;Note that
gh run downloadmay take a--repoflag and an id of the action as an argument. This ensures that a deterministic call is achievable.What do you think?