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

Support for serving binaries from GitHub Releases #10

Closed
awonak opened this issue Apr 27, 2024 · 1 comment
Closed

Support for serving binaries from GitHub Releases #10

awonak opened this issue Apr 27, 2024 · 1 comment

Comments

@awonak
Copy link

awonak commented Apr 27, 2024

In my repository I use GitHub Actions to compile a few firmwares with a set of flags to build binaries for three common Arduino Nano clones.

This action is triggered when a new tag is pushed with the semantic version pattern, like "vX.Y.Z". After the binaries are created, a new GitHub release is added and all of the firmware binaries are attached to the release.

I would like to be able to use the GitHub latest release assets as the source of my .hex files with the arduino-web-uploader library.

Here is the GitHub action file I use to build the binaries, create the release, and attach the binaries to the release assets.

https://github.com/awonak/HagiwoModulove/blob/main/.github/workflows/build_release.yml

Related issue: modulove/A-RYTH-MATIK#10

@dbuezas
Copy link
Owner

dbuezas commented Apr 27, 2024

See "use as node module" in the readme. You can pass the url of the hex file in JavaScript

@dbuezas dbuezas closed this as completed Apr 27, 2024
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

No branches or pull requests

2 participants