Skip to content

zmk download as an alias to gh run download #61

Description

@aadcg

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions