1
- name : Generate Windows Installer (Debug)
1
+ name : Generate Windows Packages (Debug)
2
2
3
3
on :
4
4
release :
@@ -9,7 +9,7 @@ permissions:
9
9
10
10
jobs :
11
11
generate-windows-installer :
12
- name : Generate Windows Installer (Debug)
12
+ name : Generate Windows Packages (Debug)
13
13
runs-on : windows-latest
14
14
15
15
steps :
@@ -40,15 +40,34 @@ jobs:
40
40
path : tools/windows-installer/turing-system-monitor.iss
41
41
options : /O+
42
42
43
+ - name : Create portable zip archive from generated binaries
44
+ run : |
45
+ rm -rf "res/themes/--Theme examples"
46
+ mv dist/turing-system-monitor dist/turing-system-monitor-${{github.event.release.tag_name}}-debug
47
+ 7z a -tzip turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip dist/turing-system-monitor-${{github.event.release.tag_name}}-debug
48
+
43
49
- name : ' 📦 Archive Windows installer'
44
50
uses : actions/upload-artifact@v4
45
51
with :
46
- name : turing-system-monitor_${{github.event.release.tag_name}}
52
+ name : turing-system-monitor_${{github.event.release.tag_name}}-debug
47
53
path : tools\windows-installer\Output\turing-system-monitor-${{github.event.release.tag_name}}-debug.exe
48
54
if-no-files-found : error
49
55
56
+ - name : ' 📦 Archive Windows portable archive'
57
+ uses : actions/upload-artifact@v4
58
+ with :
59
+ name : turing-system-monitor_${{github.event.release.tag_name}}-portable-debug
60
+ path : turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip
61
+ if-no-files-found : error
62
+
50
63
- name : ' 📩 Publish Windows installer to Release'
51
64
run : |
52
65
gh release upload ${{github.event.release.tag_name}} tools\windows-installer\Output\turing-system-monitor-${{github.event.release.tag_name}}-debug.exe
53
66
env :
54
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68
+
69
+ - name : ' 📩 Publish Windows portable zip to Release'
70
+ run : |
71
+ gh release upload ${{github.event.release.tag_name}} tools\windows-installer\Output\turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip
72
+ env :
73
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments