Skip to content

[Feature Request] Github Actions: Separate build and release workflows; allow creating versioned releases from tags #63

@matey-jack

Description

@matey-jack

Description

Motivation

As I evolve my keymap, I might find a bug in the latest version or find that the lastest is not actually the greatest, so I want to go back to a previous release that I know to be good.
Basically I want to properly use GitHub's "releases" feature with different compiled firmwares including links to their source code version.

Feature description

In my fork of this repo I have set up the actions so that every commit does a compile, which I use mainly to find errors and problems. Once I have made all the changes and fixed the problems, I will push a git tag to the repository (or create it using the GitHub UI). This will trigger a "build and publish" workflow and create a new release and attaches the build firmware there. It'll also automatically link the tag.
I then go and write some release notes.

Implementation

I think that copying my GH Action Workflow to this repo should work for everyone: https://github.com/matey-jack/qmk_userspace_iris_cozy_keymap/blob/main/.github/workflows/build-on-push.yaml

I don't see any drawbacks to it, but still creating this ticket as a way to get feedback before creating the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions