ssh-action/.github
Bo-Yi Wu 66aa4d343b
Some checks failed
testing main branch / default-user-name-password (push) Failing after 5s
testing main branch / check-ssh-key (push) Failing after 5s
testing main branch / support-key-passphrase (push) Failing after 4s
testing main branch / multiple-server (push) Failing after 5s
testing main branch / support-ed25519-key (push) Failing after 4s
testing main branch / testing-with-env (push) Failing after 5s
testing main branch / testing ipv6 (push) Failing after 40s
testing main branch / some special character (push) Failing after 4s
testing main branch / testing-capturing-output (push) Failing after 3s
testing main branch / testing-script-stop (push) Failing after 3s
testing stable version / default-user-name-password (push) Failing after 6s
testing stable version / check-ssh-key (push) Failing after 7s
testing stable version / support-key-passphrase (push) Failing after 7s
testing stable version / multiple-server (push) Failing after 6s
testing stable version / support-ed25519-key (push) Failing after 5s
testing stable version / testing-with-env (push) Failing after 10s
ci: add SSH testing job to GitHub Actions workflow (#355)
* ci: add SSH testing job to GitHub Actions workflow

https://github.com/appleboy/ssh-action/issues/335#issuecomment-2372414496

- Add a new job `testing-script-stop` to the GitHub Actions workflow
- Set up an SSH server using a Docker container within the new job
- Capture the container's IP address and store it in the GitHub environment
- Add a step to run an SSH command with stdout capture
- Include a script to test conditional logic within the SSH command
- Add a step to check and print the captured stdout from the SSH command

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

* ci: improve GitHub Actions workflow with conditional checks

- Add conditional checks in GitHub Actions workflow to handle 'True' and 'False' outputs

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

* ci: standardize naming and validation of stdout steps

- Rename `stdout` step to `stdout01` in the GitHub Actions workflow
- Rename `check stdout` step to `check stdout 01`
- Update references to `stdout` to `stdout01` in echo and grep commands
- Add a new step `stdout02` for SSH command execution with stdout capture
- Add a new step `check stdout 02` to validate the output of `stdout02` step

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

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2024-12-05 16:23:32 +08:00
..
ISSUE_TEMPLATE chore(github): update appleboy/ssh-action to version v1.2.0 across workflows 2024-11-17 15:17:02 +08:00
workflows ci: add SSH testing job to GitHub Actions workflow (#355) 2024-12-05 16:23:32 +08:00
FUNDING.yml Update FUNDING.yml 2022-05-28 16:42:12 +08:00