Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:hammer: Update build scripts

Danielde14586bb29b
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 62294ce082..b01c81209d 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -204,14 +204,14 @@ jobs:
- name: Upload Build Artifacts (Non-Linux)
if: matrix.config.goos != 'linux'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: siyuan-${{ matrix.config.suffix }}
path: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app/build/siyuan-*-${{ matrix.config.suffix }}
- name: Upload Build Artifacts (Linux)
if: matrix.config.goos == 'linux'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: siyuan-linux
path: |
@@ -223,10 +223,10 @@ jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
- needs: build
+ needs: [prepare, build]
steps:
- name: Download all artifacts
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v8
- name: Create Release
uses: ncipollo/release-action@v1