Skip to content

Commit

Permalink
ci(script): improve CI robustness and coverage across environments
Browse files Browse the repository at this point in the history
- Change single-line script to multi-line bash script with error handling in GitHub Actions workflow

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Oct 23, 2024
1 parent 2763143 commit 8b84eae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ jobs:
username: linuxserver.io
password: password
port: 2222
script: whoami
script: |
#!/usr/bin/env bash
set -e
whoami
check-ssh-key:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8b84eae

Please sign in to comment.