@@ -24,20 +24,18 @@ jobs:
2424 pip install pyinstaller
2525
2626 - name : Build with PyInstaller
27- run : |
28- pyinstaller pyinstaller.spec
27+ run : pyinstaller pyinstaller.spec
2928
30- - name : Package artifact
29+ - name : Package artifact (Linux)
3130 run : |
3231 cd dist
33- # onefile → single binary named CTkDesigner (no extension on Linux)
3432 tar -czf CTkDesigner-linux-x64.tar.gz CTkDesigner
35- ls -lah
33+ ls -lah CTkDesigner*
3634
3735 - name : Upload artifact
3836 uses : actions/upload-artifact@v4
3937 with :
40- name : CTkDesigner- linux-x64
38+ name : linux-binary
4139 path : dist/CTkDesigner-linux-x64.tar.gz
4240
4341 build-windows :
@@ -58,43 +56,35 @@ jobs:
5856 pip install pyinstaller
5957
6058 - name : Build with PyInstaller
61- run : |
62- pyinstaller pyinstaller.spec
59+ run : pyinstaller pyinstaller.spec
6360
64- - name : Package artifact
61+ - name : Package artifact (Windows)
6562 run : |
6663 cd dist
67- # onefile → single binary named CTkDesigner.exe on Windows
6864 Compress-Archive -Path CTkDesigner.exe -DestinationPath CTkDesigner-windows-x64.zip
69- dir
65+ dir CTkDesigner*
7066
7167 - name : Upload artifact
7268 uses : actions/upload-artifact@v4
7369 with :
74- name : CTkDesigner- windows-x64
70+ name : windows-binary
7571 path : dist/CTkDesigner-windows-x64.zip
7672
7773 release :
7874 needs : [build-linux, build-windows]
7975 runs-on : ubuntu-latest
8076 steps :
81- - name : Checkout code
82- uses : actions/checkout@v4
83-
84- - name : Download all artifacts
77+ - name : Download artifacts
8578 uses : actions/download-artifact@v4
8679 with :
8780 path : artifacts
8881
89- - name : List artifacts
90- run : find artifacts -type f
91-
9282 - name : Create Release
9383 uses : softprops/action-gh-release@v1
9484 with :
9585 files : |
96- artifacts/CTkDesigner- linux-x64 /CTkDesigner-linux-x64.tar.gz
97- artifacts/CTkDesigner- windows-x64 /CTkDesigner-windows-x64.zip
86+ artifacts/linux-binary /CTkDesigner-linux-x64.tar.gz
87+ artifacts/windows-binary /CTkDesigner-windows-x64.zip
9888 draft : false
9989 prerelease : false
10090 generate_release_notes : true
0 commit comments