-
Notifications
You must be signed in to change notification settings - Fork 925
[feat] Upload Release Java artifacts to GitHub releases #1798
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
Comments
@Lordfirespeed Why is this needed? Aeron artifacts are released to Maven Central. See https://mvnrepository.com/artifact/io.aeron. Here is a direct link to the latest media driver jar: https://repo1.maven.org/maven2/io/aeron/aeron-driver/1.47.5/aeron-driver-1.47.5.jar. |
https://github.com/AdaptiveConsulting/Aeron.NET/ From the README for that project:
The NuGet package is outdated, but contains a standalone
Note that there are significant differences between the bundled version (1.40.0) of the media driver and the latest version:
Modern .NET tooling means that installed packages' files are no longer kept among project files. They are stored in the user's NuGet cache: Attaching a standalone media driver All that said - In the time since I posted this issue, I've written a Bash script for getting the media driver from Maven and running that. If you're not interested in this approach to solving the problem, perhaps we can approach it by updating documentation / adding scripts to Aeron.NET? |
@Lordfirespeed Aeron has two implementations of the media driver: one in Java and one in C. Aeron client can use either. It is weird that Aeron.NET comes with a Java version of the MediaDriver out of the box. @JPWatson Any thoughts? |
This would be helpful for e.g. getting the latest version of the Java Media driver for use with the Aeron.NET C# bindings for Aeron.
I am happy to contribute on this.
Usually such an arrangement entails giving Actions access to upload to releases, and then adding the relevant actions step.
Option 1 for permissions setup - less secure
Give actions 'write' permissions on the repository.

Option 2 for permissions setup - more secure
A user with write access to the repository creates a 'fine-grained' Personal Access Token here:
aeron-io
The generated PAT is added as a new 'repository secret' here

Add step to Release workflow
TAG NAME EXPRESSION
release
event,github.event.release.tag_name
will expand to the tag namepush
event withtags
filter,github.ref_name
should expand to the tag name ( I am not certain, but relatively confident )The text was updated successfully, but these errors were encountered: