Skip to content

Commit 70d92b5

Browse files
committed
ci: harden Mantis Crabbox CLI help check
1 parent 4fc3524 commit 70d92b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/mantis-slack-desktop-smoke.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ jobs:
164164
go build -C "$install_dir/src" -o "$HOME/.local/bin/crabbox" ./cmd/crabbox
165165
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
166166
"$HOME/.local/bin/crabbox" --version
167-
"$HOME/.local/bin/crabbox" warmup --help 2>&1 | grep -q -- "-desktop"
167+
"$HOME/.local/bin/crabbox" warmup --help > "$install_dir/warmup-help.txt" 2>&1
168+
grep -q -- "-desktop" "$install_dir/warmup-help.txt"
168169
"$HOME/.local/bin/crabbox" media preview --help >/dev/null
169170
170171
- name: Prepare candidate worktree

0 commit comments

Comments
 (0)