Commit Graph

22 Commits (151aa2340915cdd1820f235cb8c12ac7d7374f0b)

Author SHA1 Message Date
GammaGames c1dc5db4d6 tee 5 months ago
GammaGames 210ea25b05 cleanup 5 months ago
GammaGames 058ddd1a69 test 5 months ago
GammaGames 4188bdc3ce capturing stdout 5 months ago
GammaGames c14811a802 tesing 5 months ago
GammaGames 5ec72068f5 test variables 5 months ago
GammaGames bd67bfa881 remove stderr, stdout works 5 months ago
GammaGames 1a1adf6ba5 use env 5 months ago
GammaGames 765833ffce fix substitution? 5 months ago
GammaGames 4172428f49 make capturing optional 5 months ago
Jesse fbf2b7866a
Merge branch 'appleboy:master' into master 5 months ago
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>
5 months ago
GammaGames 332ff99a47 Merge branch 'master' of github.com:appleboy/ssh-action into appleboy-master 9 months ago
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>
9 months ago
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>
9 months ago
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>
9 months ago
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>
9 months ago
GammaGames 396c696e03 syntax fix 1 year ago
GammaGames 27b687e565 rebase with upstream 1 year ago
appleboy 1991c553ec
chore(file): update target file
Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 year ago
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>
1 year ago
Bo-Yi Wu 5e4c286287 feat: initial 6 years ago