mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-04-13 07:53:30 +00:00
chore: improve robustness and consistency across multiple scripts
Some checks failed
testing main branch / default-user-name-password (push) Failing after 32s
testing main branch / check-ssh-key (push) Failing after 31s
testing main branch / support-key-passphrase (push) Failing after 32s
testing main branch / multiple-server (push) Failing after 31s
testing main branch / support-ed25519-key (push) Failing after 31s
testing main branch / testing-with-env (push) Failing after 31s
testing main branch / testing ipv6 (push) Failing after 31s
testing main branch / some special character (push) Failing after 31s
testing main branch / testing-capturing-output (push) Failing after 31s
testing main branch / testing-script-stop (push) Failing after 1m32s
testing main branch / testing-script-error (push) Failing after 26s
testing stable version / default-user-name-password (push) Failing after 1m31s
testing stable version / check-ssh-key (push) Failing after 24s
testing stable version / support-key-passphrase (push) Failing after 8s
testing stable version / multiple-server (push) Failing after 5s
testing stable version / support-ed25519-key (push) Failing after 6s
testing stable version / testing-with-env (push) Failing after 11s
Some checks failed
testing main branch / default-user-name-password (push) Failing after 32s
testing main branch / check-ssh-key (push) Failing after 31s
testing main branch / support-key-passphrase (push) Failing after 32s
testing main branch / multiple-server (push) Failing after 31s
testing main branch / support-ed25519-key (push) Failing after 31s
testing main branch / testing-with-env (push) Failing after 31s
testing main branch / testing ipv6 (push) Failing after 31s
testing main branch / some special character (push) Failing after 31s
testing main branch / testing-capturing-output (push) Failing after 31s
testing main branch / testing-script-stop (push) Failing after 1m32s
testing main branch / testing-script-error (push) Failing after 26s
testing stable version / default-user-name-password (push) Failing after 1m31s
testing stable version / check-ssh-key (push) Failing after 24s
testing stable version / support-key-passphrase (push) Failing after 8s
testing stable version / multiple-server (push) Failing after 5s
testing stable version / support-ed25519-key (push) Failing after 6s
testing stable version / testing-with-env (push) Failing after 11s
- Combine `errexit`, `nounset`, and `pipefail` options into a single `set -euo pipefail` command Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
bd83ba7e2b
commit
0e19dd962d
@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
set -euo pipefail
|
||||
|
||||
export GITHUB="true"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user