Skip to content

Commit f091c56

Browse files
committed
[Fix][Workflow]doxygen Doxyfile 返回错误 但是仍然生成成功
1 parent 3849966 commit f091c56

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/doxygen.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,16 @@ jobs:
5555
shell: bash
5656
run: |
5757
cd documentation
58-
doxygen Doxyfile
59-
cat Doxyfile
58+
if ! doxygen Doxyfile; then
59+
echo "Doxygen failed, but workflow will continue."
60+
fi
61+
62+
# 检查生成结果
63+
if [ -d "html" ]; then
64+
echo "✅ HTML documentation generated successfully."
65+
else
66+
echo "❌ Warning: HTML directory not found."
67+
fi
6068
6169
- name: Upload static files as artifact
6270
id: deployment

0 commit comments

Comments
 (0)