ci: 修复 workflow YAML(heredoc 改为脚本调用)+ 新增打包脚本
auto-release / build (push) Failing after 10m31s

This commit is contained in:
Reasonix committed 2026-08-14 16:43:19 +08:00
1 parent 5f95a8d47d
commit c5fe84ae3f
5 files changed
+25 -8

No files matched your search

+1 -8
View File
@@ -35,14 +35,7 @@ jobs:
cp app/Microsoft.Web.WebView2.Core.dll app/Microsoft.Web.WebView2.WinForms.dll app/WebView2Loader.dll pkg/app/
cp app/src/dsh-app.cs app/src/app.manifest pkg/app/src/
cp dsh.ico README.md install.cmd uninstall.vbs register-uninstall.ps1 pkg/
cd pkg && python - <<'PY'
import zipfile, os
with zipfile.ZipFile('../dsh-desktop-online.zip', 'w', zipfile.ZIP_DEFLATED) as z:
for r, _, fs in os.walk('.'):
for f in fs:
p = os.path.join(r, f)
z.write(p, os.path.relpath(p, '.'))
PY
cd pkg && python ../scripts/build-online.py ../dsh-desktop-online.zip
- name: Create release
id: release