From 07a2c6e5cddad8718fc51530f2e28fd67c08fdca Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 11 Apr 2026 20:17:05 +0000 Subject: [PATCH 1/2] fix: correct checkout to v4 and add archive: false to fix double-zip - actions/checkout@v6 does not exist; correct to @v4 - Add archive: false to all actions/upload-artifact@v7 steps so .zip and .7z files are uploaded directly without being wrapped in an extra zip container (fixes the double-zip problem described in #2725 and #2805) Agent-Logs-Url: https://github.com/cmderdev/cmder/sessions/1d806690-a6f7-49d1-bef5-cefe50fc371e Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com> --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea7d2ba..d2164f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: discussions: write steps: - name: Check out repository code (Action from GitHub) - uses: actions/checkout@v6 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -101,6 +101,7 @@ jobs: with: path: build/cmder.zip name: cmder.zip + archive: false if-no-files-found: error - name: Upload artifact (cmder.7z) @@ -108,18 +109,21 @@ jobs: with: path: build/cmder.7z name: cmder.7z + archive: false - name: Upload artifact (cmder_mini.zip) uses: actions/upload-artifact@v7 with: path: build/cmder_mini.zip name: cmder_mini.zip + archive: false - name: Upload artifact (hashes.txt) uses: actions/upload-artifact@v7 with: path: build/hashes.txt name: hashes.txt + archive: false - name: Summary - Artifacts uploaded if: success() From 35c1cd6f42da0cbd616f54b5658d202aaa17f26a Mon Sep 17 00:00:00 2001 From: David Refoua Date: Sun, 12 Apr 2026 00:04:19 +0330 Subject: [PATCH 2/2] Revert GitHub Actions checkout action version to v6 (latest) --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2164f8..98c50c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: discussions: write steps: - name: Check out repository code (Action from GitHub) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0