33
33
- name : Run PyInstaller to create binaries
34
34
run : |
35
35
pyinstaller.exe --noconfirm turing-system-monitor-debug.spec
36
+ "${{github.event.release.tag_name}}-debug" | Out-File ".\dist\turing-system-monitor\version.txt"
36
37
37
38
- name : Create InnoSetup installer from generated binaries
38
39
uses :
Minionguyjpro/[email protected]
@@ -42,21 +43,20 @@ jobs:
42
43
43
44
- name : Create portable zip archive from generated binaries
44
45
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
46
+ Remove-Item -r ".\dist\turing-system-monitor\res\themes\--Theme examples\"
47
+ 7z a -tzip turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip ".\dist\turing-system-monitor"
48
48
49
49
- name : ' 📦 Archive Windows installer'
50
50
uses : actions/upload-artifact@v4
51
51
with :
52
- name : turing-system-monitor_ ${{github.event.release.tag_name}}-debug
52
+ name : turing-system-monitor- ${{github.event.release.tag_name}}-debug
53
53
path : tools\windows-installer\Output\turing-system-monitor-${{github.event.release.tag_name}}-debug.exe
54
54
if-no-files-found : error
55
55
56
56
- name : ' 📦 Archive Windows portable archive'
57
57
uses : actions/upload-artifact@v4
58
58
with :
59
- name : turing-system-monitor_ ${{github.event.release.tag_name}}-portable-debug
59
+ name : turing-system-monitor- ${{github.event.release.tag_name}}-portable-debug
60
60
path : turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip
61
61
if-no-files-found : error
62
62
68
68
69
69
- name : ' 📩 Publish Windows portable zip to Release'
70
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
71
+ gh release upload ${{github.event.release.tag_name}} turing-system-monitor-${{github.event.release.tag_name}}-portable-debug.zip
72
72
env :
73
73
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments