mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2024-11-22 18:19:36 +01:00
ci(script): improve CI robustness and coverage across environments
- Change single-line script to multi-line bash script with error handling in GitHub Actions workflow Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
2763143a97
commit
8b84eaec3a
1 changed files with 4 additions and 1 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -37,7 +37,10 @@ jobs:
|
||||||
username: linuxserver.io
|
username: linuxserver.io
|
||||||
password: password
|
password: password
|
||||||
port: 2222
|
port: 2222
|
||||||
script: whoami
|
script: |
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
whoami
|
||||||
|
|
||||||
check-ssh-key:
|
check-ssh-key:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue