An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:green_heart: Collect E2E logs before artifact upload
Daniela0ab57604d12
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.ymlindex dfe6f1d206..cedff72f66 100644--- a/.github/workflows/cd.yml+++ b/.github/workflows/cd.yml@@ -376,6 +376,19 @@ jobs:fidone+ - name: Collect End-to-End Test Logs+ if: always() && matrix.config.e2e_shards != ''+ continue-on-error: true+ shell: bash+ run: |+ log_dir="${{ github.workspace }}/siyuan-testing/kernel-logs"+ mkdir -p "${log_dir}"+ cp "${RUNNER_TEMP}"/siyuan-e2e-*-kernel-console.log "${log_dir}/" 2>/dev/null || true+ workspace="${USERPROFILE:-${HOME}}/SiYuan-Testing"+ if [ -f "${workspace}/temp/siyuan.log" ]; then+ cp "${workspace}/temp/siyuan.log" "${log_dir}/siyuan.log"+ fi+- name: Upload End-to-End Test Resultsif: always() && matrix.config.e2e_shards != ''continue-on-error: true@@ -385,8 +398,7 @@ jobs:path: |${{ github.workspace }}/siyuan-testing/playwright-report-*${{ github.workspace }}/siyuan-testing/test-results-*- ${{ runner.temp }}/siyuan-e2e-*-kernel-console.log- ~/SiYuan-Testing/temp/siyuan.log+ ${{ github.workspace }}/siyuan-testing/kernel-logsif-no-files-found: ignoreretention-days: 14