I’ve been looking for ways to have a varying name for the artifact that I upload, but I haven’t found solutions on here that allow what I’m looking for. For reference, I’ve looked at both of these solutions:
What I’m looking for is a way to set the name based on items that are set in a file that is also in the repository. Specifically, I’m using the Gradle for Java Action, with some minor tweaks. I am specifically looking for my artifact to be named
<base_name>-<game_version>-<project_version>.jar, where my
gradle.properties file in the repo contains
base_name = exampleproject game_version = 2.4.3 project-version = 0.3.2-SNAPSHOT
Thus the output would be
If this is possible, please let me know how to specify that in my .yml file. If it can’t happen, then I’ll have to figure something else out.