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)
This commit is contained in:
xiaozhou233 committed 2026-10-16 13:02:02 +08:00
1 parent 3cd28c9bcb
commit 19b1bfb88a
1 file changed
+12
+12
View File
@@ -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