File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,14 +24,16 @@ jobs:
2424 python -m pip install --upgrade pip
2525 pip install pyinstaller numpy pandas matplotlib pymeasure pyvisa pyvisa-py Pillow
2626
27- - name : Build with PyInstaller
28- run : pyinstaller --onefile --windowed PICA_Launcher_V4.py
27+ # --- KEY CHANGE IS HERE ---
28+ - name : Build with PyInstaller using .spec file
29+ run : pyinstaller PICA_Launcher.spec
2930
3031 - name : Upload Executable to Release
3132 uses : svenstaro/upload-release-action@v2
3233 with :
3334 repo_token : ${{ secrets.GITHUB_TOKEN }}
34- file : dist/PICA_Launcher_V4.exe
35- asset_name : PICA_Launcher_V4-Windows-${{ github.ref_name }}.exe
35+ # The name in the .spec file determines the output .exe name
36+ file : dist/PICA_Launcher.exe
37+ asset_name : PICA_Launcher-Windows-${{ github.ref_name }}.exe
3638 tag : ${{ github.ref }}
3739 overwrite : true
You can’t perform that action at this time.
0 commit comments