Open lordofscripts opened 2 months ago
The body_path
should be referencing a file you have created. We use it with placeholders like <!-- PLACEHOLDER -->
which get's replaced in the WF with sed
commands. If you don't want a file, but instead pass the body itself, then you can use body
instead of body_path
.
I do not develop in go, but in java I would rename the file and append the version. Or leave it as without version and use the same name for an auto deployment further down the pipeline.
I am new to workflows and have a cross-build workflow in my project which uses this action-gh-release. For now I have it triggered on watch so that I don't have to make fake releases just to test the workflow.
As you can see in the last part I am using
action-gh-release
but I wonder what should I do with that body_path? I don't see that file is created, so is it actually an input file? and if so, which keywords are expected byaction-gh-release
within that file to create the release?Secondary question (sorry!) is there a simple way to add the release tag to the
BINARY_NAME
?