5454
5555 - name : Build exe
5656 shell : pwsh
57- run : python -m PyInstaller --noconfirm --clean --windowed --onefile --name "SoccerNetProAnalyzer" --add-data "style;style" --add-data "ui;ui" --add-data "controllers;controllers" --add-data "image;image" "main.py"
57+ run : >
58+ python -m PyInstaller --noconfirm --clean --windowed --onefile
59+ --name "SoccerNetProAnalyzer"
60+ --add-data "style;style"
61+ --add-data "ui;ui"
62+ --add-data "controllers;controllers"
63+ --add-data "image;image"
64+ "main.py"
5865
5966 - name : Zip Windows binary (manual runs only)
6067 if : github.event_name == 'workflow_dispatch'
@@ -100,15 +107,25 @@ jobs:
100107 pip install -r requirements.txt
101108
102109 - name : Cleanup before PyInstaller
110+ shell : bash
103111 run : |
104112 rm -rf build dist *.spec
105113 pip cache purge || true
106114
107115 - name : Build app
108- run : python -m PyInstaller --noconfirm --clean --windowed --name "SoccerNetProAnalyzer" --add-data "style:style" --add-data "ui:ui" --add-data "controllers:controllers" --add-data "image:image" "main.py"
116+ shell : bash
117+ run : >
118+ python -m PyInstaller --noconfirm --clean --windowed
119+ --name "SoccerNetProAnalyzer"
120+ --add-data "style:style"
121+ --add-data "ui:ui"
122+ --add-data "controllers:controllers"
123+ --add-data "image:image"
124+ "main.py"
109125
110126 - name : Zip macOS app (manual runs only)
111127 if : github.event_name == 'workflow_dispatch'
128+ shell : bash
112129 run : |
113130 ditto -c -k --sequesterRsrc --keepParent "dist/SoccerNetProAnalyzer.app" "dist/SoccerNetProAnalyzer-mac.zip"
114131
@@ -134,6 +151,7 @@ jobs:
134151 python-version : " 3.9"
135152
136153 - name : Install system deps (Qt/OpenCV runtime)
154+ shell : bash
137155 run : |
138156 sudo apt-get update
139157 sudo apt-get install -y libgl1 libglib2.0-0 libxcb-cursor0
@@ -153,15 +171,25 @@ jobs:
153171 pip install -r requirements.txt
154172
155173 - name : Cleanup before PyInstaller
174+ shell : bash
156175 run : |
157176 rm -rf build dist *.spec
158177 pip cache purge || true
159178
160179 - name : Build binary
161- run : python -m PyInstaller --noconfirm --clean --windowed --onefile --name "SoccerNetProAnalyzer" --add-data "style:style" --add-data "ui:ui" --add-data "controllers:controllers" --add-data "image:image" "main.py"
180+ shell : bash
181+ run : >
182+ python -m PyInstaller --noconfirm --clean --windowed --onefile
183+ --name "SoccerNetProAnalyzer"
184+ --add-data "style:style"
185+ --add-data "ui:ui"
186+ --add-data "controllers:controllers"
187+ --add-data "image:image"
188+ "main.py"
162189
163190 - name : Zip Linux binary (manual runs only)
164191 if : github.event_name == 'workflow_dispatch'
192+ shell : bash
165193 run : |
166194 mv -f dist/SoccerNetProAnalyzer dist/SoccerNetProAnalyzer-linux
167195 cd dist
0 commit comments