aboutsummaryrefslogtreecommitdiff
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
parent62cde0ee1b62adba9f8a107c1ae5cc6dc7ae8ee5 (diff)
ci: upload docs test result artifact on failure
-rw-r--r--.github/workflows/ci-check-only.yml7
-rw-r--r--.github/workflows/ci.yml7
2 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/ci-check-only.yml b/.github/workflows/ci-check-only.yml
index 1179ed0..27811ac 100644
--- a/.github/workflows/ci-check-only.yml
+++ b/.github/workflows/ci-check-only.yml
@@ -45,3 +45,10 @@ jobs:
${{ runner.os }}-mingling-temp-
- 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
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]