The commits added by the #141 work as expected, but there is a lack of relevant declarations in action.yml, leading to:
- VS Code prompting
Invalid action input 'SCRIPT_BEFORE_REQUIRED' and Invalid action input 'SCRIPT_AFTER_REQUIRED'
- GitHub Action execution displaying a warning:
"Unexpected input(s) 'SCRIPT_BEFORE_REQUIRED', 'SCRIPT_AFTER_REQUIRED', valid inputs are ['SSH_PRIVATE_KEY', 'REMOTE_HOST', 'REMOTE_USER', 'REMOTE_PORT', 'SOURCE', 'TARGET', 'ARGS', 'SSH_CMD_ARGS', 'EXCLUDE', 'SCRIPT_BEFORE', 'SCRIPT_AFTER']".
Therefore, I have added the relevant declarations in the PR to fix this issue.
The commits added by the #141 work as expected, but there is a lack of relevant declarations in
action.yml, leading to:Invalid action input 'SCRIPT_BEFORE_REQUIRED'andInvalid action input 'SCRIPT_AFTER_REQUIRED'"Unexpected input(s) 'SCRIPT_BEFORE_REQUIRED', 'SCRIPT_AFTER_REQUIRED', valid inputs are ['SSH_PRIVATE_KEY', 'REMOTE_HOST', 'REMOTE_USER', 'REMOTE_PORT', 'SOURCE', 'TARGET', 'ARGS', 'SSH_CMD_ARGS', 'EXCLUDE', 'SCRIPT_BEFORE', 'SCRIPT_AFTER']".Therefore, I have added the relevant declarations in the PR to fix this issue.