aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-20 05:22:13 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-20 05:22:13 +0800
commit6a693a49030417d5df554a4113bf3feebb71fd7f (patch)
tree7e09144aeeea883bdd808c8537f37c6c5c6b56da /.github/workflows/ci.yml
parent62cde0ee1b62adba9f8a107c1ae5cc6dc7ae8ee5 (diff)
ci: upload docs test result artifact on failure
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b81c1ef..309909f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,6 +48,13 @@ jobs:
- run: cargo ci --test-docs
+ - name: Upload docs test result on failure
+ if: failure()
+ uses: actions/upload-artifact@v4
+ with:
+ name: docs-test-result-${{ matrix.os }}.md
+ path: .temp/DOCS-TEST-RESULT.md
+
Move-Unreleased-Tag:
if: github.ref == 'refs/heads/main'
needs: [Check-Codes, Check-Docs]