1
0
mirror of https://gitea.com/actions/appleboy-ssh-action.git synced 2025-12-04 20:29:29 +00:00
Files
appleboy-ssh-action/entrypoint.sh
Bo-Yi Wu b6690ee817 refactor: improve error handling and code readability across scripts (#374)
- Add `log_error` function for error handling
- Simplify the detection of client platform and architecture
- Use `log_error` for unsupported platform or architecture handling
- Use consistent quoting for variable expansions
- Improve readability for `curl` and `chmod` commands
- Simplify the commands for running and capturing stdout

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-03-29 00:25:15 +08:00

1.6 KiB
Executable File