action-gh-release
action-gh-release copied to clipboard
Do not raise misleading warning
When the input input_files
is not defined, the config.input_files
will default to an empty array, which always evaluate to true - that was triggering a misleading warning suggesting that the user did input something but the input didn't point to any file.
As a fix, simply check if the array is empty as well :)
@softprops can we merge this? would fix the following warning ("not include valid file") always being thrown whenever input_files is not defined.
~~Duplicate of~~ Related to #384 ? :)
@Drowze this makes a lot of sense to me!
this should be available in the new v2 tag