An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:construction_worker: Improve cd
Danielb06a7dc94a4f
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.ymlindex a003d58116..7703a92b98 100644--- a/.github/workflows/cd.yml+++ b/.github/workflows/cd.yml@@ -128,7 +128,7 @@ jobs:with:go-version-file: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/kernel/go.modcache-dependency-path: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/kernel/go.sum- cache: false+ cache: true- run: go version- name: Set up goversioninfo@@ -151,6 +151,13 @@ jobs:run: npm install -g ${{ needs.prepare.outputs.packageManager }}working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app+ - name: Cache pnpm store+ uses: actions/cache@v5+ with:+ path: ~/.pnpm-store+ key: pnpm-${{ runner.os }}-${{ hashFiles('app/pnpm-lock.yaml') }}+ restore-keys: pnpm-${{ runner.os }}-+- name: Install Node Dependenciesrun: pnpm install --no-frozen-lockfileworking-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app@@ -163,24 +170,10 @@ jobs:run: pnpm run buildworking-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app- - name: Remove Build Directory- run: rm -rf "${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app/build"- shell: bash-- - name: Remove Kernel Directory for Linux- run: rm -rf "${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app/kernel-linux"- shell: bash-- - name: Remove Kernel Directory for Windows- run: rm -rf "${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app/kernel"- shell: bash-- - name: Remove Kernel Directory for macOS- run: rm -rf "${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app/kernel-darwin"- shell: bash-- - name: Remove Kernel Directory for macOS ARM64- run: rm -rf "${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app/kernel-darwin-arm64"+ - name: Clean Build and Kernel Directories+ run: |+ rm -rf "${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app/build"+ rm -rf "${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app/kernel"*shell: bash- name: Generate Icon Resource and Properties/Version Info For Windows@@ -241,7 +234,7 @@ jobs:with:go-version-file: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/kernel/go.modcache-dependency-path: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/kernel/go.sum- cache: false+ cache: true- run: go version- name: Set up Node@@ -253,6 +246,13 @@ jobs:run: npm install -g ${{ needs.prepare.outputs.packageManager }}working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app+ - name: Cache pnpm store+ uses: actions/cache@v5+ with:+ path: ~/.pnpm-store+ key: pnpm-${{ runner.os }}-${{ hashFiles('app/pnpm-lock.yaml') }}+ restore-keys: pnpm-${{ runner.os }}-+- name: Install Node Dependenciesrun: pnpm install --no-frozen-lockfileworking-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app