Skip to content

Commit 8b84eae

Browse files
committed
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>
1 parent 2763143 commit 8b84eae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
username: linuxserver.io
3838
password: password
3939
port: 2222
40-
script: whoami
40+
script: |
41+
#!/usr/bin/env bash
42+
set -e
43+
whoami
4144
4245
check-ssh-key:
4346
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)