From 19b1bfb88a95361390570db3df1357b7ba1633dd Mon Sep 17 00:00:00 2001 From: xiaozhou233 Date: Fri, 16 Oct 2026 13:02:02 +0800 Subject: [PATCH] CI: package and upload the release zip as a build artifact - ci: after the integration tests, run script/package.cmake and upload dist/JuiceAgent_*.zip via actions/upload-artifact (14-day retention) --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7593409..2160b30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,3 +81,15 @@ jobs: # Fallback for any remaining runtime DLLs. $env:PATH = "C:\msys64\mingw64\bin;$env:PATH" ./tests/run-tests.ps1 + + - name: Package release zip + shell: msys2 {0} + run: cmake -P script/package.cmake + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: JuiceAgent-windows-x64 + path: dist/JuiceAgent_*.zip + if-no-files-found: error + retention-days: 14