diff --git a/.github/workflows/windows-package.yml b/.github/workflows/windows-package.yml
index 4142d30285..4102546618 100644
--- a/.github/workflows/windows-package.yml
+++ b/.github/workflows/windows-package.yml
@@ -213,6 +213,7 @@ jobs:
uses: actions/upload-artifact@v7.0.1
with:
name: windows-x64-unsigned-${{ steps.settings.outputs.version }}-${{ github.run_id }}-${{ github.run_attempt }}
+ compression-level: 0
include-hidden-files: true
path: ${{ steps.retained.outputs.directory }}/*
if-no-files-found: error
@@ -222,6 +223,7 @@ jobs:
uses: actions/upload-artifact@v7.0.1
with:
name: windows-x64-signed-${{ steps.settings.outputs.version }}-${{ github.run_id }}-${{ github.run_attempt }}
+ compression-level: 0
include-hidden-files: true
path: ${{ steps.retained.outputs.directory }}/*
if-no-files-found: error
diff --git a/apps/desktop/packaging/README.i18n.yaml b/apps/desktop/packaging/README.i18n.yaml
index 766a395821..4723f15370 100644
--- a/apps/desktop/packaging/README.i18n.yaml
+++ b/apps/desktop/packaging/README.i18n.yaml
@@ -24,8 +24,8 @@
en: 5b4f0f80a117f202
zh: ff05be196c181087
/desktop-packaging/windows-actions-packaging:
- en: e628d75c47317979
- zh: 17055233501f4df6
+ en: af6991014e97911e
+ zh: f30c4d6cdcd8e8c6
/desktop-packaging/macos-self-hosted-packaging:
en: a3af9523fdc60036
zh: 5e18d4740e9b7f57
diff --git a/apps/desktop/packaging/README.md b/apps/desktop/packaging/README.md
index 92eb557309..4787ec38fc 100644
--- a/apps/desktop/packaging/README.md
+++ b/apps/desktop/packaging/README.md
@@ -119,6 +119,8 @@ For cache measurements, `cache_namespace` selects a retained subdirectory for bo
The dependency-install and packaging steps normalize their own shell to normal CPU, I/O and memory priority before launching children, and record all three values before and after adjustment. Failure to establish these values stops the step. This does not modify the runner task, account, startup triggers or other processes.
+Installer uploads store the already-compressed release files without ZIP recompression; this preserves installer bytes and signatures. Diagnostic uploads retain their ordinary compression.
+
## macOS self-hosted packaging
diff --git a/apps/desktop/packaging/README.zh.md b/apps/desktop/packaging/README.zh.md
index c5d02a9073..75baa9035f 100644
--- a/apps/desktop/packaging/README.zh.md
+++ b/apps/desktop/packaging/README.zh.md
@@ -119,6 +119,8 @@ runner 的受监督启动和恢复见 [Windows runner 机器准备](../windows-s
依赖安装和打包步骤在启动子进程前,将自身 shell 的 CPU、I/O 和内存优先级调整为普通值,并记录调整前后的三项值;无法确认调整成功时停止该步骤。这不会修改 runner 任务、账户、启动触发器或其他进程。
+安装器上传直接存储已经压缩的发布文件,不再进行 ZIP 二次压缩;安装器字节和签名保持不变。诊断日志上传保留通常的压缩方式。
+
## macOS 自托管打包
diff --git a/scripts/windows-package-workflow.spec.ts b/scripts/windows-package-workflow.spec.ts
index 1b3efd3ba6..58bb948ada 100644
--- a/scripts/windows-package-workflow.spec.ts
+++ b/scripts/windows-package-workflow.spec.ts
@@ -113,7 +113,7 @@ it('retains failure diagnostics and uploads only the selected successful install
})
for (const mode of ['unsigned', 'signed']) {
const upload = uploads.find(step => step.if === `success() && inputs.signing == '${mode}'`)!
- expect(upload.with).toMatchObject({ path: '${{ steps.retained.outputs.directory }}/*', 'if-no-files-found': 'error' })
+ expect(upload.with).toMatchObject({ path: '${{ steps.retained.outputs.directory }}/*', 'if-no-files-found': 'error', 'compression-level': 0 })
}
})