From 5781cf94573a41f867d2654aef82c8aac33ffcdd Mon Sep 17 00:00:00 2001 From: salix5 Date: Tue, 18 Nov 2025 22:06:50 +0800 Subject: [PATCH] Refactor build artifact to use ZIP format --- .github/workflows/test-build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index ab7c5049..4c2a18c7 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -38,14 +38,12 @@ jobs: xcopy /e /y bin\Release dist\WindBot\ xcopy /y BotWrapper\bin\Release\bot.conf dist\ xcopy /y BotWrapper\bin\Release\bot.exe dist\ - cd dist - 7z a WindBot.7z * - cd .. + tar -C dist -acf WindBot.zip . - name: Upload build artifacts uses: actions/upload-artifact@v4 with: - path: dist\WindBot.7z + path: WindBot.zip - name: GitHub Release if: github.event_name == 'push' @@ -56,4 +54,4 @@ jobs: prerelease: false title: "Development Build" files: | - dist/WindBot.7z + WindBot.zip