Inspired by commit 0f551ad of laputansoft/github-tag_action fork.
In action.yml:
- Define inputs.custom_tag with no default
In main.ts run() function:
- Define a 'customTag' variable which value is extracted from input.custom_tag
- Define 'newVersion' variable value according to whether 'customTag' variable has a value or not