File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,14 +26,25 @@ jobs:
2626 - name : Build Windows NSIS installer
2727 run : npm run electron:build:win:nsis
2828
29- - name : Build Windows portable package
30- run : npm run electron:build:win:portable
29+ - name : Rename Windows installer
30+ shell : pwsh
31+ run : |
32+ $installer = Get-ChildItem release -Filter "*_x64.exe" | Select-Object -First 1
33+ Rename-Item $installer.FullName "sysai-assistant_1.4.0-beta_windows-x64-installer.exe"
34+
35+ - name : Build Windows unpacked portable directory
36+ run : npm run electron:build:win:dir
37+
38+ - name : Create Windows portable ZIP
39+ shell : pwsh
40+ run : |
41+ Compress-Archive -Path release\win-unpacked\* -DestinationPath release\sysai-assistant_1.4.0-beta_windows-x64-portable.zip -Force
3142
3243 - name : Upload Windows artifacts
3344 uses : actions/upload-artifact@v4
3445 with :
3546 name : sysai-windows-release
3647 path : |
37- release/*.exe
38- release/*.zip
48+ release/*windows-x64-installer .exe
49+ release/*windows-x64-portable .zip
3950 release/*.yml
You can’t perform that action at this time.
0 commit comments