Commit Graph

21 Commits

Author SHA1 Message Date
GammaGames
210ea25b05 cleanup 2024-11-25 12:16:14 -07:00
GammaGames
058ddd1a69 test 2024-11-25 12:03:35 -07:00
GammaGames
4188bdc3ce capturing stdout 2024-11-25 11:59:10 -07:00
GammaGames
c14811a802 tesing 2024-11-25 11:53:22 -07:00
GammaGames
5ec72068f5 test variables 2024-11-25 11:49:07 -07:00
GammaGames
bd67bfa881 remove stderr, stdout works 2024-11-25 11:47:21 -07:00
GammaGames
1a1adf6ba5 use env 2024-11-25 10:29:44 -07:00
GammaGames
765833ffce fix substitution? 2024-11-25 10:19:44 -07:00
GammaGames
4172428f49 make capturing optional 2024-11-22 16:56:52 -07:00
Jesse
fbf2b7866a
Merge branch 'appleboy:master' into master 2024-11-22 13:55:59 -07:00
appleboy
25259c3d50
fix: refactor and enhance API and testing infrastructure
- Update DRONE_SSH_VERSION from 1.7.7 to 1.8.0
- Add missing case statement terminator in detect_client_info function

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-11-17 15:02:20 +08:00
GammaGames
332ff99a47 Merge branch 'master' of github.com:appleboy/ssh-action into appleboy-master 2024-07-19 13:52:02 -06:00
Bo-Yi Wu
eaeb06998d
chore(cli): enhance curl command with silent mode and redirects
- Add silent mode and follow redirects to curl command in entrypoint.sh

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-07-14 20:55:52 +08:00
Bo-Yi Wu
5ade826485
chore: improve CLI reliability and version visibility
- Increase curl retry attempts from 3 to 5
- Add echo statements to display CLI version before and after running the version command

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-07-14 16:42:46 +08:00
Bo-Yi Wu
8b6078208d
chore(cli): enhance version handling and testing mechanisms
- Add a command to print the version of the target before running the main command

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-07-14 16:21:41 +08:00
Bo-Yi Wu
036cad7df7
chore: update drone-ssh to version 1.7.7
- Update drone-ssh Docker image version from `1.7.4` to `1.7.7`
- Update DRONE_SSH_VERSION environment variable default from `1.7.4` to `1.7.7`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-07-14 16:17:12 +08:00
GammaGames
396c696e03 syntax fix 2024-04-03 10:12:39 -06:00
GammaGames
27b687e565 rebase with upstream 2024-04-03 10:02:10 -06:00
appleboy
1991c553ec
chore(file): update target file
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-03-16 15:59:42 +08:00
Bo-Yi Wu
c78141851a
ci: enhance GitHub Actions for IPv6 and flexibility (#303)
* ci: enhance GitHub Actions for IPv6 and flexibility

- Add a new CI job for testing IPv6 in GitHub Actions workflow
- Update the Docker image version from `1.7.3` to `1.7.4`
- Add a new `protocol` input parameter to the GitHub action with a default value of `tcp`
- Change the GitHub action to use a composite run steps action instead of a Docker container
- Update the `entrypoint.sh` script to use `bash` instead of `sh`, set stricter error handling, and add a function to detect client platform and architecture
- Modify the `entrypoint.sh` script to download a specific version of `drone-ssh` based on the detected client info and execute it

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* ci: refactor CI workflow and Docker setup

- Remove IPv6 ping command from CI workflow
- Uncomment Docker run configuration in action.yml

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-03-16 15:45:28 +08:00
Bo-Yi Wu
5e4c286287 feat: initial 2019-05-15 00:31:53 +08:00