Skip to content

Add release artifact upload on tags#1

Open
mehalter wants to merge 1 commit intozmkfirmware:mainfrom
mehalter:release_artifact
Open

Add release artifact upload on tags#1
mehalter wants to merge 1 commit intozmkfirmware:mainfrom
mehalter:release_artifact

Conversation

@mehalter
Copy link
Copy Markdown

Great work on this project! I love the use of GitHub actions for the build process and was interested in adding the ability to make more "official" releases of my configuration over time that would be more static/long lasting and easy to revert back to previous working versions.

Note: This GitHub action used to be maintained by GitHub (https://github.com/actions/upload-release-asset) but active development has moved to this new repository (https://github.com/softprops/action-gh-release). So while it's not maintained by the official GitHub developers anymore, this repository is very active and seems to be promoted by the official actions account so should be reliable and long living.

Basically it checks to see if the action is building on a "tag" (created with something like git tag v1.0) and if it is, then it will create a release and upload the firmware as a release artifact. If it is just a normal push/PR to any branch then this step is skipped all together.

Let me know if this would be a worthy/useful addition to the standard configuration template. I have just found it useful in my workflow and figured it would provide a good way for packaging official configuration versions for something like the Nice!60 board (https://github.com/Nice-Keyboards/nice60-zmk-config) in the future.

Signed-off-by: Micah Halter <micah@balena.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant