action-gh-release
action-gh-release copied to clipboard
Fail when files to release aren't found
All too often getting 'not include valid file.'. Please enable a way to fail the release altogether when the release assets listed in files aren't found. Empty releases without assets may make little sense.
Case in point: an earlier job fails to populate its output variable that is used for release, resulting in an empty files parameter passed onto action-gh-release. It could be anything from syntax error to a faulty job.
action-gh-release needs a flag to fail when files is being set but may be empty due to a earlier problem. In that case, a release is a waste of effort.
Same here
action-gh-release needs a flag to fail when files is being set but may be empty due to a earlier problem.
Have you tried using the fail_on_unmatched_files
input?
Alternatively, if there were an earlier problem why not fail the workflow run at that point instead of proceeding on?