DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
fix(ci): 夜间版不再按文件名清理资产
hairyff81832c7e428
diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.ymlindex 8fa9b01d..a28e81e7 100644--- a/.github/workflows/release-nightly.yml+++ b/.github/workflows/release-nightly.yml@@ -260,8 +260,6 @@ jobs:ref: ${{ needs.prepare.outputs.source_ref }}fetch-depth: 0fetch-tags: true- # 目录里已有下载好的产物,不能被 checkout 的 git clean 清掉。- clean: false- name: Setup Node.js and pnpmuses: ./.github/actions/setup-node-pnpm@@ -304,13 +302,6 @@ jobs:mapfile -d '' assets < <(find "$RUNNER_TEMP/release-assets" -type f -print0)gh release upload "$NIGHTLY_TAG" "${assets[@]}" --clobber- # 同步资产清理:清理旧资产- new_names="$(cd "$RUNNER_TEMP/release-assets" && find . -type f -exec basename {} \;)"- gh release view "$NIGHTLY_TAG" --json assets -q '.assets[].name' | while read -r name; do- [ -n "$name" ] || continue- grep -qxF "$name" <<< "$new_names" || gh release delete-asset "$NIGHTLY_TAG" "$name" --yes- done-- name: Point rolling alias tag at this commituses: actions/github-script@v8env:@@ -384,12 +375,6 @@ jobs:mapfile -d '' assets < <(find "$RUNNER_TEMP/release-assets" -type f -print0)gh release upload nightly "${assets[@]}" --clobber- new_names="$(cd "$RUNNER_TEMP/release-assets" && find . -type f -exec basename {} \;)"- gh release view nightly --json assets -q '.assets[].name' | while read -r name; do- [ -n "$name" ] || continue- grep -qxF "$name" <<< "$new_names" || gh release delete-asset nightly "$name" --yes- done-gh release view "$NIGHTLY_TAG" --json body -q .body > alias_notes.md{echo "> 滚动别名:本页资产始终是最近一版夜间版,本次对应 [\`$NIGHTLY_TAG\`](https://github.com/$GH_REPO/releases/tag/$NIGHTLY_TAG)。"