Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add release artifact upload on tags #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mehalter
Copy link

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.

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